示例#1
0
 static public void CopyFileOrDirectoryBetweenDirectorys(string src_directory, string dst_directory, string name, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     CopyFileOrDirectory(Filename.MakeFilename(src_directory, name), Filename.MakeFilename(dst_directory, name), overwrite, milliseconds);
 }
示例#2
0
 public string GetFilename()
 {
     return(Filename.MakeFilename(dst_directory, src_filename));
 }
示例#3
0
 static public bool SaveChanges(this string item, string directory, string filename, bool overwrite)
 {
     return(item.SaveChanges(Filename.MakeFilename(directory, filename), overwrite));
 }
示例#4
0
 static public void CopyFileOrDirectoryToDirectory(string src, string dst_directory, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     CopyFileOrDirectory(src, Filename.MakeFilename(dst_directory, src), overwrite, milliseconds);
 }
示例#5
0
 static public AttemptResult CopyDirectoryToDirectory(string src_directory, string dst_directory, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     return(CopyDirectory(src_directory, Filename.MakeFilename(dst_directory, src_directory), overwrite, milliseconds));
 }
示例#6
0
 static public AttemptResult CopyDirectoryBetweenDirectorys(string src_directory, string dst_directory, string directoryname, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     return(CopyDirectory(Filename.MakeFilename(src_directory, directoryname), Filename.MakeFilename(dst_directory, directoryname), overwrite, milliseconds));
 }
示例#7
0
 static public string MakeDataFilename(string directory, string filename, string extension)
 {
     return(Filename.MakeFilename(MakeDataPath(directory), filename, extension));
 }
示例#8
0
 static public AttemptResult RenameFileInDirectory(string directory, string filename, string new_filename, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     return(RenameFile(Filename.MakeFilename(directory, filename), new_filename, overwrite, milliseconds));
 }
示例#9
0
 static public AttemptResult CopyFileBetweenDirectorysOverwriteOld(string src_directory, string dst_directory, string filename, long milliseconds = DEFAULT_WAIT)
 {
     return(CopyFileOverwriteOld(Filename.MakeFilename(src_directory, filename), Filename.MakeFilename(dst_directory, filename), milliseconds));
 }
示例#10
0
 static public AttemptResult DeleteFileInDirectory(string directory, string filename, long milliseconds = DEFAULT_WAIT)
 {
     return(DeleteFile(Filename.MakeFilename(directory, filename), milliseconds));
 }
示例#11
0
 static public AttemptResult RenameFile(string full_filename, string new_filename, bool overwrite, long milliseconds = DEFAULT_WAIT)
 {
     return(MoveFile(full_filename, Filename.MakeFilename(full_filename, new_filename), overwrite, milliseconds));
 }