Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More cleanup #4500

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open

More cleanup #4500

wants to merge 33 commits into from

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Feb 7, 2025

No description provided.

@@ -113,7 +113,7 @@ trait ScalaPBModule extends ScalaModule {
if (os.exists(protoDest))
Task.log.error(s"Warning: Overwriting ${dest} / ${os.SubPath(entry.getName)} ...")
Using.resource(os.write.over.outputStream(protoDest, createFolders = true)) { os =>
IO.stream(zip, os)
_root_.os.Internals.transfer(zip, os)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering, why this API is called internals. Sound like it should not be used outside. OTOS, we have a close channel to os-lib. :-D

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, we're already using all sorts of experimental stuff from that library, so I guess it's fine haha

@@ -16,23 +16,3 @@ object DummyOutputStream extends OutputStream {
override def write(b: Array[Byte], off: Int, len: Int): Unit = ()
}

trait StreamSupport {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should deprecated it in 0.12.x branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants