mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
Format: lib/sources.nix
This commit is contained in:
parent
88f912da48
commit
80d5b411f6
1 changed files with 0 additions and 10 deletions
|
@ -23,7 +23,6 @@ let
|
||||||
directories of version control system, backup files (*~)
|
directories of version control system, backup files (*~)
|
||||||
and some generated files.
|
and some generated files.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`name`
|
`name`
|
||||||
|
@ -66,14 +65,12 @@ let
|
||||||
/**
|
/**
|
||||||
Filters a source tree removing version control files and directories using cleanSourceFilter.
|
Filters a source tree removing version control files and directories using cleanSourceFilter.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`src`
|
`src`
|
||||||
|
|
||||||
: 1\. Function argument
|
: 1\. Function argument
|
||||||
|
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
:::{.example}
|
:::{.example}
|
||||||
## `cleanSource` usage example
|
## `cleanSource` usage example
|
||||||
|
@ -96,7 +93,6 @@ let
|
||||||
allowing you to chain multiple calls together without any
|
allowing you to chain multiple calls together without any
|
||||||
intermediate copies being put in the nix store.
|
intermediate copies being put in the nix store.
|
||||||
|
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
:::{.example}
|
:::{.example}
|
||||||
## `cleanSourceWith` usage example
|
## `cleanSourceWith` usage example
|
||||||
|
@ -144,7 +140,6 @@ let
|
||||||
/**
|
/**
|
||||||
Add logging to a source, for troubleshooting the filtering behavior.
|
Add logging to a source, for troubleshooting the filtering behavior.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`src`
|
`src`
|
||||||
|
@ -181,7 +176,6 @@ let
|
||||||
/**
|
/**
|
||||||
Filter sources by a list of regular expressions.
|
Filter sources by a list of regular expressions.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`src`
|
`src`
|
||||||
|
@ -192,7 +186,6 @@ let
|
||||||
|
|
||||||
: 2\. Function argument
|
: 2\. Function argument
|
||||||
|
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
:::{.example}
|
:::{.example}
|
||||||
## `sourceByRegex` usage example
|
## `sourceByRegex` usage example
|
||||||
|
@ -226,7 +219,6 @@ let
|
||||||
any suffix. The result of the example below will include files like
|
any suffix. The result of the example below will include files like
|
||||||
`./dir/module.c` and `./dir/subdir/doc.xml` if present.
|
`./dir/module.c` and `./dir/subdir/doc.xml` if present.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`src`
|
`src`
|
||||||
|
@ -273,14 +265,12 @@ let
|
||||||
/**
|
/**
|
||||||
Get the commit id of a git repo.
|
Get the commit id of a git repo.
|
||||||
|
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
`path`
|
`path`
|
||||||
|
|
||||||
: 1\. Function argument
|
: 1\. Function argument
|
||||||
|
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
:::{.example}
|
:::{.example}
|
||||||
## `commitIdFromGitRepo` usage example
|
## `commitIdFromGitRepo` usage example
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue