Skip to content

Commit

Permalink
lib.fileset: Minor contributor doc adjustments
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
  • Loading branch information
infinisil and roberth committed Oct 11, 2023
1 parent 4ecf025 commit 389be8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/fileset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ An attribute set with these values:

- `_internalBase` (path):
Any files outside of this path cannot influence the set of files.
This is always a directory.
This is always a directory and should be as long as possible.
This is used by `lib.fileset.toSource` to check that all files are under the `root` argument

- `_internalBaseRoot` (path):
The filesystem root of `_internalBase`, same as `(lib.path.splitRoot _internalBase).root`.
Expand Down Expand Up @@ -172,7 +173,8 @@ Arguments:

### Empty directories

File sets can only represent a _set_ of local files, directories on their own are not representable.
File sets can only represent a _set_ of local files.
Directories on their own are not representable.

Arguments:
- (+) There does not seem to be a sensible set of combinators when directories can be represented on their own.
Expand Down

0 comments on commit 389be8d

Please sign in to comment.