isValidPath

fnbool isValidPath(scope const(char)[] path) pure @safe nothrow @nogc

Check if a Unix socket path is valid.

Parameters

pathPath to validate.

Returns

true if the path is non-empty and within length limits.