Пример #1
0
 private void TouchFile(TouchedFile.TouchedFileAction action, string path)
 {
     TouchFile(action, path, null);
 }
Пример #2
0
        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
            });
        }
Пример #3
0
 private void TouchFile(TouchedFile.TouchedFileAction action, string path, string sourcePath, string sourceRevision)
 {
     touchedFiles.Add(new TouchedFile()
     {
         Action = action,
         Path = path,
         SourcePath = sourcePath,
         SourceRevision = sourceRevision
     });
 }