zimoun schreef op di 04-01-2022 om 23:22 [+0100]: > > +(define (vcs-file? file stat) > > +  "Returns true if FILE is a version control system file." > > +  (case (stat:type stat) > > +    ((directory) > > +     (member (basename file) '(".bzr" ".git" ".hg" ".svn" "CVS"))) > > +    ((regular) > > +     ;; Git sub-modules have a '.git' file that is a regular text > > file. > > +     (string=? (basename file) ".git")) > > +    (else > > +     #f))) > > 1) Why ’vcs-file?’ requires to be exported?  Is it used elsewhere? It is used in (guix scripts hash): (select? (if (assq-ref opts 'exclude-vcs?) (negate vcs-file?) (const #t))) Greetings, Maxime.