Format: lib/sources.nix
This commit is contained in:
@@ -23,7 +23,6 @@ let
|
||||
directories of version control system, backup files (*~)
|
||||
and some generated files.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`name`
|
||||
@@ -66,14 +65,12 @@ let
|
||||
/**
|
||||
Filters a source tree removing version control files and directories using cleanSourceFilter.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`src`
|
||||
|
||||
: 1\. Function argument
|
||||
|
||||
|
||||
# Examples
|
||||
:::{.example}
|
||||
## `cleanSource` usage example
|
||||
@@ -96,7 +93,6 @@ let
|
||||
allowing you to chain multiple calls together without any
|
||||
intermediate copies being put in the nix store.
|
||||
|
||||
|
||||
# Examples
|
||||
:::{.example}
|
||||
## `cleanSourceWith` usage example
|
||||
@@ -144,7 +140,6 @@ let
|
||||
/**
|
||||
Add logging to a source, for troubleshooting the filtering behavior.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`src`
|
||||
@@ -181,7 +176,6 @@ let
|
||||
/**
|
||||
Filter sources by a list of regular expressions.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`src`
|
||||
@@ -192,7 +186,6 @@ let
|
||||
|
||||
: 2\. Function argument
|
||||
|
||||
|
||||
# Examples
|
||||
:::{.example}
|
||||
## `sourceByRegex` usage example
|
||||
@@ -226,7 +219,6 @@ let
|
||||
any suffix. The result of the example below will include files like
|
||||
`./dir/module.c` and `./dir/subdir/doc.xml` if present.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`src`
|
||||
@@ -273,14 +265,12 @@ let
|
||||
/**
|
||||
Get the commit id of a git repo.
|
||||
|
||||
|
||||
# Inputs
|
||||
|
||||
`path`
|
||||
|
||||
: 1\. Function argument
|
||||
|
||||
|
||||
# Examples
|
||||
:::{.example}
|
||||
## `commitIdFromGitRepo` usage example
|
||||
|
||||
Reference in New Issue
Block a user