Lines Matching refs:folder

134   // It ASSERTS and returns false if the path points to a folder or a
138 // This will attempt to delete the empty folder located at 'folder'
140 // folder. It fails normally if the folder is not empty or can otherwise
142 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0;
146 // folder. If the folder is empty, this returns true.
147 virtual bool DeleteFolderContents(const Pathname &folder);
149 // This deletes the contents of a folder, recursively, and then deletes
150 // the folder itself.
151 virtual bool DeleteFolderAndContents(const Pathname &folder) {
152 return DeleteFolderContents(folder) && DeleteEmptyFolder(folder);
155 // This will delete whatever is located at path, be it a file or a folder.
156 // If it is a folder, it will delete it recursively by calling
185 // be it a file or folder.
195 // returns false if old_path is a folder, and returns true if the copy
199 // This copies a folder from old_path to new_path.
222 // A folder appropriate for storing temporary files (Contents are
242 // Get a folder that is unique to the current application, which is suitable
244 // true, the folder is also specific to the current user.
247 // Get a temporary folder that is unique to the current user and application.
253 // Delete the contents of the folder returned by GetAppTempFolder
322 static bool DeleteEmptyFolder(const Pathname &folder) {
323 return EnsureDefaultFilesystem()->DeleteEmptyFolder(folder);
326 static bool DeleteFolderContents(const Pathname &folder) {
327 return EnsureDefaultFilesystem()->DeleteFolderContents(folder);
330 static bool DeleteFolderAndContents(const Pathname &folder) {
331 return EnsureDefaultFilesystem()->DeleteFolderAndContents(folder);