C# Class Hpdi.Vss2Git.VssPathMapper

Tracks the names and locations of VSS projects and files as revisions are replayed.
Afficher le fichier Open project: abevoelker/vss2git Class Usage Examples

Méthodes publiques

Méthode Description
AddItem ( VssItemName project, VssItemName name ) : VssItemInfo
BranchFile ( VssItemName project, VssItemName newName, VssItemName oldName ) : VssItemInfo
DeleteItem ( VssItemName project, VssItemName name ) : VssItemInfo
GetAllFiles ( string project ) : IEnumerable
GetAllProjects ( string project ) : IEnumerable
GetFilePaths ( string file, string underProject ) : IEnumerable
GetFileVersion ( string file ) : int
GetProjectPath ( string project ) : string
GetWorkingPath ( string workingRoot, string vssPath ) : string
IsProjectRooted ( string project ) : bool
MoveProjectFrom ( VssItemName project, VssItemName subproject, string oldProjectSpec ) : VssProjectInfo
MoveProjectTo ( VssItemName project, VssItemName subproject, string newProjectSpec ) : VssProjectInfo
PinItem ( VssItemName project, VssItemName name ) : VssItemInfo
RecoverItem ( VssItemName project, VssItemName name ) : VssItemInfo
RenameItem ( VssItemName name ) : VssItemInfo
SetFileVersion ( VssItemName name, int version ) : void
SetProjectPath ( string project, string path, string originalVssPath ) : void
TryToGetPhysicalNameContainedInProject ( VssItemName project, VssItemName name ) : string
UnpinItem ( VssItemName project, VssItemName name ) : VssItemInfo

Private Methods

Méthode Description
GetOrCreateFile ( VssItemName name ) : VssFileInfo
GetOrCreateProject ( VssItemName name ) : VssProjectInfo
IsInMappedSet ( string projectSpec ) : bool
ResolveProjectSpec ( string projectSpec ) : VssProjectInfo

Method Details

AddItem() public méthode

public AddItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

BranchFile() public méthode

public BranchFile ( VssItemName project, VssItemName newName, VssItemName oldName ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
newName Hpdi.VssLogicalLib.VssItemName
oldName Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

DeleteItem() public méthode

public DeleteItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

GetAllFiles() public méthode

public GetAllFiles ( string project ) : IEnumerable
project string
Résultat IEnumerable

GetAllProjects() public méthode

public GetAllProjects ( string project ) : IEnumerable
project string
Résultat IEnumerable

GetFilePaths() public méthode

public GetFilePaths ( string file, string underProject ) : IEnumerable
file string
underProject string
Résultat IEnumerable

GetFileVersion() public méthode

public GetFileVersion ( string file ) : int
file string
Résultat int

GetProjectPath() public méthode

public GetProjectPath ( string project ) : string
project string
Résultat string

GetWorkingPath() public static méthode

public static GetWorkingPath ( string workingRoot, string vssPath ) : string
workingRoot string
vssPath string
Résultat string

IsProjectRooted() public méthode

public IsProjectRooted ( string project ) : bool
project string
Résultat bool

MoveProjectFrom() public méthode

public MoveProjectFrom ( VssItemName project, VssItemName subproject, string oldProjectSpec ) : VssProjectInfo
project Hpdi.VssLogicalLib.VssItemName
subproject Hpdi.VssLogicalLib.VssItemName
oldProjectSpec string
Résultat VssProjectInfo

MoveProjectTo() public méthode

public MoveProjectTo ( VssItemName project, VssItemName subproject, string newProjectSpec ) : VssProjectInfo
project Hpdi.VssLogicalLib.VssItemName
subproject Hpdi.VssLogicalLib.VssItemName
newProjectSpec string
Résultat VssProjectInfo

PinItem() public méthode

public PinItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

RecoverItem() public méthode

public RecoverItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

RenameItem() public méthode

public RenameItem ( VssItemName name ) : VssItemInfo
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo

SetFileVersion() public méthode

public SetFileVersion ( VssItemName name, int version ) : void
name Hpdi.VssLogicalLib.VssItemName
version int
Résultat void

SetProjectPath() public méthode

public SetProjectPath ( string project, string path, string originalVssPath ) : void
project string
path string
originalVssPath string
Résultat void

TryToGetPhysicalNameContainedInProject() public méthode

public TryToGetPhysicalNameContainedInProject ( VssItemName project, VssItemName name ) : string
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat string

UnpinItem() public méthode

public UnpinItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
Résultat VssItemInfo