glistix/nix/path_like

Module concerning the PathLike type.

Types

Represents any object which could be used to represent a path within Nix.

pub type PathLike {
  NixPath(Path)
  StringPath(String)
}

Constructors

  • NixPath(Path)

    A regular path object. Usually, when used, triggers a copy to the Nix store.

  • StringPath(String)

    A string which points to any path in the system.

Search Document