function format
format(pathObject: Partial<ParsedPath>): stringGenerate a path from FormatInputPathObject object.a {@linkcode ParsedPath} object. It does the
opposite of {@linkcode https://jsr.io/@std/path/doc/~/parse | parse()}.
Parameters
pathObject: FormatInputPathObject: Partial<ParsedPath>Object with path components.