public static void CopyToDir(FileSet files, DirectoryPath toDir, Overwrite overwrite) { new CopyTask(files) { ToDir = toDir, Overwrite = overwrite}.Execute(); }
public static void CopyToDir(FileSet files, DirectoryPath toDir) { new CopyTask(files) { ToDir = toDir }.Execute(); }
public static void Move(FilePath file, DirectoryPath toDir, Overwrite overwrite, bool failOnError = true) { new MoveTask(file) { ToDir = toDir, Overwrite = overwrite, FailOnError = failOnError }.Execute(); }
public static void Move(string file, DirectoryPath toDir, Overwrite overwrite, bool failOnError = true) { Move((FilePath)file, toDir, overwrite, failOnError); }
public static void Move(FileSet files, DirectoryPath toDir, Overwrite overwrite, bool flatten = false, bool failOnError = true) { new MoveTask(files) { ToDir = toDir, Overwrite = overwrite, Flatten = flatten, FailOnError = failOnError }.Execute(); }