Function subPathOpt [src]

Prototype

pub fn subPathOpt(self: Path) ?[]const u8

Parameters

self: Path

Source

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