docs: documentation for cleanSource
This commit is contained in:
parent
1643967b8d
commit
1d68b5ee84
|
@ -26,6 +26,10 @@ rec {
|
||||||
(type == "symlink" && lib.hasPrefix "result" baseName)
|
(type == "symlink" && lib.hasPrefix "result" baseName)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# Filters a source tree removing version control files and directories using cleanSourceWith
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# cleanSource ./.
|
||||||
cleanSource = src: cleanSourceWith { filter = cleanSourceFilter; inherit src; };
|
cleanSource = src: cleanSourceWith { filter = cleanSourceFilter; inherit src; };
|
||||||
|
|
||||||
# Like `builtins.filterSource`, except it will compose with itself,
|
# Like `builtins.filterSource`, except it will compose with itself,
|
||||||
|
|
Loading…
Reference in a new issue