Summary
Provides utility methods for handling paths
- Namespace
- NBuildKit
.MsBuild .Tasks .Core .FileSystem - Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["PathUtilities"]
class Type type-node
Syntax
public static class PathUtilities
Methods
Name | Value | Summary |
---|---|---|
Append |
string |
Appends the directory separator character at the end of the string if it doesn't already exist.
static
|
BaseDirectory |
string |
Returns the base directory for a given path expression. The base directory is considered to be
the directory of the file if there are no wild cards, or the directory path before the first
set of wild cards.
static
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
static
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
static
|
Get |
string |
Creates a relative path for a directory based on a given directory.
static
|
Get |
string |
Creates a relative path for a file based on a given directory.
static
|
IncludedPaths |
IEnumerable |
Returns a collection containing all paths that match the path expression.
static
|
IncludedPaths |
IEnumerable |
Returns a collection containing all paths that match the path expression.
static
|