mirror of
https://github.com/numtide/nix-filter.git
synced 2024-09-11 14:16:38 +03:00
fmt
This commit is contained in:
parent
825abbb40e
commit
318e18ecdc
12
default.nix
12
default.nix
@ -103,12 +103,12 @@ rec {
|
||||
in
|
||||
if builtins.isFunction f then f args
|
||||
else path: type:
|
||||
(if pathIsDirectory then
|
||||
inDirectory path_ args path type
|
||||
else
|
||||
path_ == path) || args.matchParents
|
||||
&& type == "directory"
|
||||
&& _hasPrefix "${path}/" path_;
|
||||
(if pathIsDirectory then
|
||||
inDirectory path_ args path type
|
||||
else
|
||||
path_ == path) || args.matchParents
|
||||
&& type == "directory"
|
||||
&& _hasPrefix "${path}/" path_;
|
||||
|
||||
|
||||
# Makes sure a path is:
|
||||
|
Loading…
Reference in New Issue
Block a user