Module vibe.core.path
Contains routines for high level path handling.
Functions
Name | Description |
---|---|
relativeTo(path, base_path)
|
Computes the relative path from base_path to this path.
|
relativeToWeb(path, base_path)
|
Computes the relative path to this path from base_path using web path rules.
|
toNativeString(path)
|
Converts a path to its system native string representation. |
Classes
Name | Description |
---|---|
PathValidationException
|
Thrown when an invalid string representation of a path is detected. |
Structs
Name | Description |
---|---|
GenericPath
|
Provides a common interface to operate on paths of various kinds. |
InetPathFormat
|
Implements URI/Internet path semantics. |
PosixPathFormat
|
Implements Unix/Linux path semantics. |
WindowsPathFormat
|
Implements Windows path semantics. |
Aliases
Name | Type | Description |
---|---|---|
InetPath
|
GenericPath!(vibe.core.path.InetPathFormat)
|
Represents a path as part of an URI. |
NativePath
|
GenericPath!(vibe.core.path.PosixPathFormat)
|
The path type native to the target operating system. |
PosixPath
|
GenericPath!(vibe.core.path.PosixPathFormat)
|
Represents a path on Unix/Posix systems. |
WindowsPath
|
GenericPath!(vibe.core.path.WindowsPathFormat)
|
Represents a path on Windows operating systems. |