DoxigAlpha

subPathOpt

Function parameters

Parameters

#

Useful to make `Path` a key in `std.ArrayHashMap`.

Types

#
TableAdapter
Useful to make `Path` a key in `std.ArrayHashMap`.

Functions in this namespace

Functions

#
fmtEscapeChar
Deprecated, use double quoted escape to print paths.
formatEscapeChar
Deprecated, use double quoted escape to print paths.

Source

Implementation

#
pub fn subPathOpt(self: Path) ?[]const u8 {
    return if (self.sub_path.len == 0) null else self.sub_path;
}