nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e734d6
)
lib/standard: document FileReader::from_fd
author
Jean Privat
<jean@pryen.org>
Mon, 30 Mar 2015 12:48:34 +0000
(19:48 +0700)
committer
Jean Privat
<jean@pryen.org>
Tue, 31 Mar 2015 00:37:46 +0000
(07:37 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/file.nit
patch
|
blob
|
history
diff --git
a/lib/standard/file.nit
b/lib/standard/file.nit
index
7052c15
..
81341ad
100644
(file)
--- a/
lib/standard/file.nit
+++ b/
lib/standard/file.nit
@@
-135,6
+135,7
@@
class FileReader
end
end
+ # Creates a new File stream from a file descriptor
init from_fd(fd: Int) do
self.path = ""
prepare_buffer(1)