FS.padded

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

Note: Allocates memory where path is not already terminated.

struct FS
static
inout(char)[]
padded
(
inout(char)[] path
,
char c = '/'
)

Meta