Skip to content

Revisit passing of strings: redesign and replace NixPath #221

Open
@kamalmarhubi

Description

@kamalmarhubi

https://github.com/carllerche/nix-rust/blob/00c7905a8a85668d0993420e356a56002ab23905/src/lib.rs#L115

I'm trying to bring back mount (#85) and while I can make it work, I'm not 100% sure of what the purpose of NixPath is. Could do with a 1-2 sentence explanation of why and when to use it. Its name is confusing for mount because the filesystem type is passed as a NixPath, though it isn't really a path.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions