Skip to content

Rose::FileSystem::makeNormal

Normalize a path name.

Synopsis

Declared in <src/Rose/FileSystem.h>

[[visibility("default")]]
Path
makeNormal(Path const&);

Description

Uses std::filesystem::path::lexically_normal without consulting the filesystem. Preserves leading parent components in relative paths; for example, "../../file" stays relative and "/../file" becomes "/file".

Return Value

Name of entities in a filesystem.


Created with MrDocs