Lines Matching defs:file
71 // noted, a file path can contain either kind of path separators, or a mixture
127 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
128 // FilePath("dir/file"). If a case-insensitive extension is not
194 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
195 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
196 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
205 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
208 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
230 std::string file;
232 file = base_name.string() + "." + extension;
234 file =
237 return ConcatPaths(directory, FilePath(file));
249 // Returns true if pathname describes something findable in the file-system,
250 // either a file, directory, or whatever.
263 // Returns true if pathname describes a directory in the file-system
304 // Returns a pathname for a file that does not currently exist. The pathname
325 // This does NOT check that a directory (or file) actually exists.