FS.paddedLeading

Return an adjusted path such that non-empty instances always have a leading separator.

Note: Allocates memory where path is not already terminated.

struct FS
static
cstring
paddedLeading
(
cstring path
,
char c = '/'
)

Meta