Documentation

Lake.Util.FilePath

Returns the portion of path relative to root. If none, returns path verbatim.

Instances For

    Convert a relative file path to a platform-independent string. Uses / as the path separator, even on Windows.

    Instances For
      @[implicit_reducible]
      Instances For

        Joins a two (potentially) relative paths. If either path is ., this returns the other.

        Instances For
          @[implicit_reducible]
          Instances For
            @[deprecated "Deprecated without replacement." (since := "2025-08-01")]

            Creates a module Name from a file path. The components of the path become string components of the Name. Before conversion, normalizes the path, removes any extensions, and strips a trailing path separator.

            Examples:

            Instances For