aboutsummaryrefslogtreecommitdiff
path: root/gnu/artwork.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-31 22:55:41 +0200
committerLudovic Courtès <ludo@gnu.org>2015-03-31 22:55:41 +0200
commit1968262a237e398f12a25eb2cbda4c944a2ce1bf (patch)
treeca19000b362d3a15b0c19b2508b7a30f444bdf24 /gnu/artwork.scm
parentf8503e2b2588391c4c0f8d8dd11ef3e9449a2884 (diff)
downloadguix-1968262a237e398f12a25eb2cbda4c944a2ce1bf.tar.gz
guix-1968262a237e398f12a25eb2cbda4c944a2ce1bf.zip
utils: 'find-files' takes an arbitrary predicate as its second argument.
* guix/build/utils.scm (file-name-predicate): New procedure. (find-files): Rename second parameter to 'pred'. When 'pred' is not a procedure, call 'file-name-predicate'. Use PRED instead of 'regexp-exec' in the leaf procedure.
Diffstat (limited to 'gnu/artwork.scm')
0 files changed, 0 insertions, 0 deletions