C# Class Hpdi.Vss2Git.VssPathMapper

Tracks the names and locations of VSS projects and files as revisions are replayed.
ファイルを表示 Open project: abevoelker/vss2git Class Usage Examples

Public Methods

Method 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

Method Description
GetOrCreateFile ( VssItemName name ) : VssFileInfo
GetOrCreateProject ( VssItemName name ) : VssProjectInfo
IsInMappedSet ( string projectSpec ) : bool
ResolveProjectSpec ( string projectSpec ) : VssProjectInfo

Method Details

AddItem() public method

public AddItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

BranchFile() public method

public BranchFile ( VssItemName project, VssItemName newName, VssItemName oldName ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
newName Hpdi.VssLogicalLib.VssItemName
oldName Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

DeleteItem() public method

public DeleteItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

GetAllFiles() public method

public GetAllFiles ( string project ) : IEnumerable
project string
return IEnumerable

GetAllProjects() public method

public GetAllProjects ( string project ) : IEnumerable
project string
return IEnumerable

GetFilePaths() public method

public GetFilePaths ( string file, string underProject ) : IEnumerable
file string
underProject string
return IEnumerable

GetFileVersion() public method

public GetFileVersion ( string file ) : int
file string
return int

GetProjectPath() public method

public GetProjectPath ( string project ) : string
project string
return string

GetWorkingPath() public static method

public static GetWorkingPath ( string workingRoot, string vssPath ) : string
workingRoot string
vssPath string
return string

IsProjectRooted() public method

public IsProjectRooted ( string project ) : bool
project string
return bool

MoveProjectFrom() public method

public MoveProjectFrom ( VssItemName project, VssItemName subproject, string oldProjectSpec ) : VssProjectInfo
project Hpdi.VssLogicalLib.VssItemName
subproject Hpdi.VssLogicalLib.VssItemName
oldProjectSpec string
return VssProjectInfo

MoveProjectTo() public method

public MoveProjectTo ( VssItemName project, VssItemName subproject, string newProjectSpec ) : VssProjectInfo
project Hpdi.VssLogicalLib.VssItemName
subproject Hpdi.VssLogicalLib.VssItemName
newProjectSpec string
return VssProjectInfo

PinItem() public method

public PinItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

RecoverItem() public method

public RecoverItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

RenameItem() public method

public RenameItem ( VssItemName name ) : VssItemInfo
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo

SetFileVersion() public method

public SetFileVersion ( VssItemName name, int version ) : void
name Hpdi.VssLogicalLib.VssItemName
version int
return void

SetProjectPath() public method

public SetProjectPath ( string project, string path, string originalVssPath ) : void
project string
path string
originalVssPath string
return void

TryToGetPhysicalNameContainedInProject() public method

public TryToGetPhysicalNameContainedInProject ( VssItemName project, VssItemName name ) : string
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return string

UnpinItem() public method

public UnpinItem ( VssItemName project, VssItemName name ) : VssItemInfo
project Hpdi.VssLogicalLib.VssItemName
name Hpdi.VssLogicalLib.VssItemName
return VssItemInfo