private void TouchFile(TouchedFile.TouchedFileAction action, string path) { TouchFile(action, path, null); }
private void TouchFile(TouchedFile.TouchedFileAction action, string path, string sourcePath) { path = path.Replace("\"", ""); if (sourcePath != null) { sourcePath = sourcePath.Replace("\"", ""); } path = "/" + path; if (sourcePath != null) { sourcePath = "/" + sourcePath; } touchedFiles.Add(new TouchedFile() { Path = path, Action = action, SourcePath = sourcePath }); }
private void TouchFile(TouchedFile.TouchedFileAction action, string path, string sourcePath, string sourceRevision) { touchedFiles.Add(new TouchedFile() { Action = action, Path = path, SourcePath = sourcePath, SourceRevision = sourceRevision }); }