Click or drag to resize

PathSpec Methods

The PathSpec type exposes the following members.

Methods
  NameDescription
Public methodEquals
Compare one PathSpec with another
(Overrides ObjectEquals(Object).)
Public methodStatic memberEscapePath
Escape a string path Escapes the Perforce Special characters * # @ and %
Public methodStatic memberEscapePaths(IListString)
Escape a list of string paths.
Public methodStatic memberEscapePaths(String)
Escape an array of string paths
Protected methodFinalize (Inherited from Object.)
Public methodGetDirectoryName
Return the Path Name from
Public methodGetFileName
Return the File name from this PathSpec
Public methodGetHashCode
Get HashCode for PathSpec
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNormalizeDepot
Normalize a depot Path Removes quotes around it.
Protected methodNormalizeLocal
Normalize a Local Path Remove quotes, insure proper OS path separators
Public methodToString
Return a string from a PathSpec
(Overrides ObjectToString.)
Public methodStatic memberUnescapePath
Unescape a string path UnEscapes the Perforce Special characters * # @ and %
Public methodStatic memberUnescapePaths(IListString)
Unescape a list of string paths
Public methodStatic memberUnescapePaths(String)
Unescape an array of string paths
Top
See Also