-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
base: main
Are you sure you want to change the base?
More cleanup #4500
Conversation
@@ -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) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
No description provided.