C# Class Microsoft.TeamFoundation.VersionControl.Client.FileHelper

Show file Open project: Indomitable/monodevelop-tfs-addin

Public Methods

Method Description
Delete ( ItemType itemType, string source ) : bool
Exists ( string path ) : bool
FileCopy ( string source, string destination ) : bool
FileDelete ( string source ) : bool
FileMove ( string source, string destination ) : bool
FileMove ( string source, string destination, bool overrideDetination ) : bool
FolderDelete ( string source ) : bool
FolderMove ( string source, string destination ) : bool
FolderMove ( string source, string destination, bool overrideDetination ) : bool
HasFile ( string path ) : bool
HasFolder ( string path ) : bool

Method Details

Delete() public static method

public static Delete ( ItemType itemType, string source ) : bool
itemType ItemType
source string
return bool

Exists() public static method

public static Exists ( string path ) : bool
path string
return bool

FileCopy() public static method

public static FileCopy ( string source, string destination ) : bool
source string
destination string
return bool

FileDelete() public static method

public static FileDelete ( string source ) : bool
source string
return bool

FileMove() public static method

public static FileMove ( string source, string destination ) : bool
source string
destination string
return bool

FileMove() public static method

public static FileMove ( string source, string destination, bool overrideDetination ) : bool
source string
destination string
overrideDetination bool
return bool

FolderDelete() public static method

public static FolderDelete ( string source ) : bool
source string
return bool

FolderMove() public static method

public static FolderMove ( string source, string destination ) : bool
source string
destination string
return bool

FolderMove() public static method

public static FolderMove ( string source, string destination, bool overrideDetination ) : bool
source string
destination string
overrideDetination bool
return bool

HasFile() public static method

public static HasFile ( string path ) : bool
path string
return bool

HasFolder() public static method

public static HasFolder ( string path ) : bool
path string
return bool