public static void CopyFiles(this ICakeContext context, IEnumerable <string> filePaths, DirectoryPath targetDirectoryPath) { if (filePaths == null) { throw new ArgumentNullException("filePaths"); } var paths = filePaths.Select(p => new FilePath(p)); FileCopier.CopyFiles(context, paths, targetDirectoryPath); }
public static void CopyFiles(this ICakeContext context, IEnumerable <string> filePaths, DirectoryPath targetDirectoryPath, bool preserveFolderStructure) { if (filePaths == null) { throw new ArgumentNullException(nameof(filePaths)); } var paths = filePaths.Select(p => new FilePath(p)); FileCopier.CopyFiles(context, paths, targetDirectoryPath, preserveFolderStructure); }
public static void CopyFiles(this ICakeContext context, string pattern, DirectoryPath targetDirectoryPath) { FileCopier.CopyFiles(context, pattern, targetDirectoryPath); }
public static void CopyFiles(this ICakeContext context, IEnumerable <FilePath> filePaths, DirectoryPath targetDirectoryPath) { FileCopier.CopyFiles(context, filePaths, targetDirectoryPath); }
public static void CopyFiles(this ICakeContext context, IEnumerable <FilePath> filePaths, DirectoryPath targetDirectoryPath, bool preserveFolderStructure) { FileCopier.CopyFiles(context, filePaths, targetDirectoryPath, preserveFolderStructure); }
public static void CopyFiles(this ICakeContext context, string pattern, DirectoryPath targetDirectoryPath, bool preserveFolderStructure) { FileCopier.CopyFiles(context, pattern, targetDirectoryPath, preserveFolderStructure); }
public static void CopyFiles(this ICakeContext context, GlobPattern pattern, DirectoryPath targetDirectoryPath) { FileCopier.CopyFiles(context, pattern, targetDirectoryPath, false); }