Function subPathOrDot [src]

Prototype

pub fn subPathOrDot(self: Path) []const u8

Parameters

self: Path

Source

pub fn subPathOrDot(self: Path) []const u8 { return if (self.sub_path.len == 0) "." else self.sub_path; }