The PathSpec type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
PathSpec()()()() |
Default Constructor
|
![]() |
PathSpec(String) |
Construct a PathSpec from a string
|
Methods
Name | Description | |
---|---|---|
![]() |
Equals |
Compare one PathSpec with another
(Overrides Object..::..Equals(Object).) |
![]() ![]() |
EscapePath |
Escape a string path
Escapes the Perforce Special characters * # @ and %
|
![]() ![]() |
EscapePaths(IList<(Of <<'(String>)>>)) |
Escape a list of string paths.
|
![]() ![]() |
EscapePaths(array<String>[]()[][]) |
Escape an array of string paths
|
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetDirectoryName |
Return the Path Name from
|
![]() |
GetFileName |
Return the File name from this PathSpec
|
![]() |
GetHashCode |
Get HashCode for PathSpec
(Overrides Object..::..GetHashCode()()()().) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
NormalizeDepot |
Normalize a depot Path
Removes quotes around it.
|
![]() |
NormalizeLocal |
Normalize a Local Path
Remove quotes, insure backslashes instead of forward slashes
|
![]() |
ToString |
Return a string from a PathSpec
(Overrides Object..::..ToString()()()().) |
![]() ![]() |
UnescapePath |
Unescape a string path
UnEscapes the Perforce Special characters * # @ and %
|
![]() ![]() |
UnescapePaths(IList<(Of <<'(String>)>>)) |
Unescape a list of string paths
|
![]() ![]() |
UnescapePaths(array<String>[]()[][]) |
Unescape an array of string paths
|
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Implicit Widening Implicit Implicit Implicit (PathSpec to FileSpec) |
Operator to Create a FileSpec from a PathSpec
|
Properties
Name | Description | |
---|---|---|
![]() |
Path |
Property to access Path string
|