Lines Matching refs:File
5 * you may not use this file except in compliance with the License.
32 // Attempts to acquire an exclusive file lock (see flock(2)) on the file
36 // occurred. It is an error if the file does not exist, or if its inode
37 // changed (usually due to a new file being created at the same path)
40 // Attempt to acquire an exclusive file lock (see flock(2)) on 'file'.
43 bool Init(File* file, std::string* error_msg);
45 // Returns the (locked) file associated with this instance.
46 File* GetFile();
48 // Returns whether a file is held.
54 std::unique_ptr<File> file_;