Format: lib/sources.nix

Changed files
-10
lib
-10
lib/sources.nix
···
directories of version control system, backup files (*~)
and some generated files.
-
# Inputs
`name`
···
/**
Filters a source tree removing version control files and directories using cleanSourceFilter.
-
# Inputs
`src`
: 1\. Function argument
-
# Examples
:::{.example}
···
allowing you to chain multiple calls together without any
intermediate copies being put in the nix store.
-
# Examples
:::{.example}
## `cleanSourceWith` usage example
···
/**
Add logging to a source, for troubleshooting the filtering behavior.
-
# Inputs
···
/**
Filter sources by a list of regular expressions.
-
# Inputs
`src`
···
`regexes`
: 2\. Function argument
-
# Examples
:::{.example}
···
source directory or its descendants, omitting files that do not match
any suffix. The result of the example below will include files like
`./dir/module.c` and `./dir/subdir/doc.xml` if present.
-
# Inputs
···
/**
Get the commit id of a git repo.
-
# Inputs
`path`
: 1\. Function argument
-
# Examples
:::{.example}