Add a comment on File.h
authorAravind Anbudurai <aru7@fb.com>
Thu, 31 Aug 2017 23:20:43 +0000 (16:20 -0700)
committerFacebook 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

index 8d668d8bc7934949aa24a854362ea94e324f4404..958347d2b40d96e38164ccb7d2e4bafbc8a80121 100644 (file)
@@ -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(