-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
good first issueQuick win for first-time contributorsQuick win for first-time contributorsidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
Description
We now have bunch of involved code for working with file system objects.
Someday it might be good to codify this into a new libnixfile. (Don't worry, that doesn't mean I am planning a "file-only" Nix!) But going down that road would mean lots of little libraries, which could have implications for dynamic linking. For now we can instead group files into subdirectories (see build/ in libstore for this same concept), but keep all such directories linked together in the parent library.
For initial contents I am thinking:
src/libutil/archivesrc/libutil/canon-pathsrc/libutil/fs-sinksrc/libutil/git.ccwill contain more stuff after Git object hashing in libstore #8918src/libutil/posix-source-accessorsrc/libutil/source-accessorsrc/libutil/file-content-addressNew, doesn't distinguish between "flat" and "text" because w.r.t file system objects (as opposed to store objects) they are the same.
I think this will continue growing too based on our current plans. libnixfetchers only barely depends on the store layer anyways, so I think some or even all of it could end up here too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueQuick win for first-time contributorsQuick win for first-time contributorsidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.