Home | History | Annotate | Download | only in internal

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.
73 // Given directory = "dir", base_name = "test", number = 0,
77 static FilePath MakeFileName(const FilePath& directory,
83 // will be directory/base_name.extension or
84 // directory/base_name_<number>.extension if directory/base_name.extension
90 static FilePath GenerateUniqueFileName(const FilePath& directory,
99 // Returns a copy of the FilePath with the directory part removed.
101 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
107 // RemoveFileName returns the directory path with the filename removed.
124 // not represent a directory (that is, it doesn't end with a path separator).
127 // Create the directory so that path exists. Returns true if successful or
128 // if the directory already exists; returns false if unable to create the
129 // directory for any reason, including if the parent directory does not
134 // either a file, directory, or whatever, and that something exists.
137 // Returns true if pathname describes a directory in the file-system
142 // it is intended to represent a directory. Returns false otherwise.
143 // This does NOT check that a directory (or file) actually exists.