Fs.normalizeΒΆ

normalize :: fn (filepath: *string) Error #inline

Try to normalize filepath, basically try to remove all relative path nodes .. and .. Path must be valid path (existing) on system. Original filepath is extended with current working directory. Function return OK on success or propper error on fail. Original string is not modified when error occurs.

Declared in: fs.bl