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
cstring
padded
(
cstring path
,
char c = '/'
)

Meta