vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.core.path

Contains routines for high level path handling.

Functions

NameDescription
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

NameDescription
PathValidationException Thrown when an invalid string representation of a path is detected.

Structs

NameDescription
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

NameTypeDescription
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.
Authors

Sönke Ludwig

Copyright

© 2012-2021 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.