Contents

FilePath.Root

Represents a root of a file path.

Declaration

struct Root

Overview

On Unix, a root is simply the directory separator /.

On Windows, a root contains the entire path prefix up to and including the final separator.

Examples:

  • Unix:

    • /

  • Windows:

    • C:\

    • C:

    • \

    • \\server\share\

    • \\?\UNC\server\share\

    • \\?\Volume{12345678-abcd-1111-2222-123445789abc}\

Topics

Initializers

Instance Properties

Instance Methods

Default Implementations