Lines Matching refs:directory

48 // FilePath - a class for file and directory pathname manipulation which
50 // Used for helper functions for naming files in a directory for xml output.
54 // a directory, otherwise it is assumed to represent a file. In either case,
55 // it may or may not represent an actual file or directory in the file system.
80 // Returns the current working directory, or "" if unsuccessful.
83 // Given directory = "dir", base_name = "test", number = 0,
87 static FilePath MakeFileName(const FilePath& directory,
92 // Given directory = "dir", relative_path = "test.xml",
95 static FilePath ConcatPaths(const FilePath& directory,
99 // will be directory/base_name.extension or
100 // directory/base_name_<number>.extension if directory/base_name.extension
106 static FilePath GenerateUniqueFileName(const FilePath& directory,
118 // Returns a copy of the FilePath with the directory part removed.
120 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
126 // RemoveFileName returns the directory path with the filename removed.
143 // not represent a directory (that is, it doesn't end with a path separator).
146 // Create the directory so that path exists. Returns true if successful or
147 // if the directory already exists; returns false if unable to create the
148 // directory for any reason, including if the parent directory does not
153 // either a file, directory, or whatever, and that something exists.
156 // Returns true if pathname describes a directory in the file-system
161 // it is intended to represent a directory. Returns false otherwise.
162 // This does NOT check that a directory (or file) actually exists.
165 // Returns true if pathname describes a root directory. (Windows has one
166 // root directory per disk drive.)
187 // a pathname from directory syntax (trailing separator) to filename syntax.