mrdocs::files::makePosixStyle

Convert all backward slashes to forward slashes.

Synopsis

Declared in <mrdocs/Support/Path.hpp>

std::string
makePosixStyle(std::string_view pathName);

Return Value

A copy of the path with all backslashes replaced with forward slashes.

Parameters

Name

Description

pathName

The absolute or relative path to the directory or file.

Created with MrDocs