path.Base
path.Base PATH
Returns the last element of the given path.
path.BaseName
path.BaseName PATH
Returns the last element of the given path with its extension removed, if present.
path.Clean
path.Clean PATH
Returns the shortest path name equivalent to the given path.
path.Dir
path.Dir PATH
Returns all but the last element of the given path.
path.Ext
path.Ext PATH
Returns the file extension of the given path.
path.Join
path.Join ELEMENT...
Returns the shortest path name equivalent to the given path elements joined into a single path.
path.Split
path.Split PATH
Returns the directory and file name components of the given path, split immediately after the final slash.
