projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7c6d5
)
Add a comment on File.h
author
Aravind Anbudurai
<aru7@fb.com>
Thu, 31 Aug 2017 23:20:43 +0000
(16:20 -0700)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Thu, 31 Aug 2017 23:21:29 +0000
(16:21 -0700)
Summary: title
Reviewed By: yfeldblum
Differential Revision:
D5751299
fbshipit-source-id:
d3967c2499da9a2c98c2862b9bdc9994c12edc76
folly/File.h
patch
|
blob
|
history
diff --git
a/folly/File.h
b/folly/File.h
index 8d668d8bc7934949aa24a854362ea94e324f4404..958347d2b40d96e38164ccb7d2e4bafbc8a80121 100644
(file)
--- a/
folly/File.h
+++ b/
folly/File.h
@@
-49,6
+49,7
@@
class File {
/**
* Open and create a file object. Throws on error.
+ * Owns the file descriptor implicitly.
*/
explicit File(const char* name, int flags = O_RDONLY, mode_t mode = 0666);
explicit File(