d007b64356
Fixes <https://issues.guix.gnu.org/issue/65979>. * guix/hash.scm (%vcs-directories): New variable. (vcs-file?): Add optional argument for passing VCS kind of the file/repository. (file-hash*): Adjust accordingly. (vcs-file-predicate): New procedure and export it. * guix/scripts/hash.scm (guix-hash)[file-hash]: Use it. Change-Id: I8e286c3426ddefd664dc3a471d5a09e309824faa |
||
---|---|---|
.. | ||
container | ||
git | ||
home | ||
import | ||
system | ||
archive.scm | ||
authenticate.scm | ||
build.scm | ||
challenge.scm | ||
container.scm | ||
copy.scm | ||
deploy.scm | ||
describe.scm | ||
discover.scm | ||
download.scm | ||
edit.scm | ||
environment.scm | ||
gc.scm | ||
git.scm | ||
graph.scm | ||
hash.scm | ||
home.scm | ||
import.scm | ||
install.scm | ||
lint.scm | ||
locate.scm | ||
offload.scm | ||
pack.scm | ||
package.scm | ||
perform-download.scm | ||
processes.scm | ||
publish.scm | ||
pull.scm | ||
refresh.scm | ||
remove.scm | ||
repl.scm | ||
search.scm | ||
shell.scm | ||
show.scm | ||
size.scm | ||
style.scm | ||
substitute.scm | ||
system.scm | ||
time-machine.scm | ||
upgrade.scm | ||
weather.scm |