C# Class GuiLabs.FileUtilities.Folders

Show file Open project: KirillOsenkov/ContentSync

Public Methods

Method Description
DiffFolders ( string leftRoot, string rightRoot, string pattern, bool recursive = true, bool compareContents = true ) : FolderDiffResults

Assumes leftRoot is an existing folder. rightRoot may not exist if operating in speculative mode.

GetRelativePathsOfAllFiles ( string rootFolder, string pattern, bool recursive, HashSet files, HashSet folders ) : void

Method Details

DiffFolders() public static method

Assumes leftRoot is an existing folder. rightRoot may not exist if operating in speculative mode.
public static DiffFolders ( string leftRoot, string rightRoot, string pattern, bool recursive = true, bool compareContents = true ) : FolderDiffResults
leftRoot string
rightRoot string
pattern string
recursive bool
compareContents bool
return FolderDiffResults

GetRelativePathsOfAllFiles() public static method

public static GetRelativePathsOfAllFiles ( string rootFolder, string pattern, bool recursive, HashSet files, HashSet folders ) : void
rootFolder string
pattern string
recursive bool
files HashSet
folders HashSet
return void