The PathSpec type exposes the following members.

Methods

  Name Description
Public method Equals
Compare one PathSpec with another
(Overrides Object..::..Equals(Object).)
Public method Static member EscapePath
Escape a string path Escapes the Perforce Special characters * # @ and %
Public method Static member EscapePaths(IList<(Of <<'(String>)>>))
Escape a list of string paths.
Public method Static member EscapePaths(array<String>[]()[][])
Escape an array of string paths
Protected method 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.)
Public method GetDirectoryName
Return the Path Name from
Public method GetFileName
Return the File name from this PathSpec
Public method GetHashCode
Get HashCode for PathSpec
(Overrides Object..::..GetHashCode()()()().)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method NormalizeDepot
Normalize a depot Path Removes quotes around it.
Protected method NormalizeLocal
Normalize a Local Path Remove quotes, insure backslashes instead of forward slashes
Public method ToString
Return a string from a PathSpec
(Overrides Object..::..ToString()()()().)
Public method Static member UnescapePath
Unescape a string path UnEscapes the Perforce Special characters * # @ and %
Public method Static member UnescapePaths(IList<(Of <<'(String>)>>))
Unescape a list of string paths
Public method Static member UnescapePaths(array<String>[]()[][])
Unescape an array of string paths

See Also