mirror of https://github.com/borgbackup/borg.git
Fixed link to cachedir spec in fs helper to address #4140 for 1.1-maint
This commit is contained in:
parent
85fa5e67f3
commit
2a3b534a61
|
@ -516,7 +516,7 @@ def get_cache_dir():
|
||||||
fd.write(textwrap.dedent("""
|
fd.write(textwrap.dedent("""
|
||||||
# This file is a cache directory tag created by Borg.
|
# This file is a cache directory tag created by Borg.
|
||||||
# For information about cache directory tags, see:
|
# For information about cache directory tags, see:
|
||||||
# http://www.brynosaurus.com/cachedir/
|
# http://www.bford.info/cachedir/spec.html
|
||||||
""").encode('ascii'))
|
""").encode('ascii'))
|
||||||
return cache_dir
|
return cache_dir
|
||||||
|
|
||||||
|
@ -594,7 +594,7 @@ def dir_is_cachedir(path):
|
||||||
"""Determines whether the specified path is a cache directory (and
|
"""Determines whether the specified path is a cache directory (and
|
||||||
therefore should potentially be excluded from the backup) according to
|
therefore should potentially be excluded from the backup) according to
|
||||||
the CACHEDIR.TAG protocol
|
the CACHEDIR.TAG protocol
|
||||||
(http://www.brynosaurus.com/cachedir/spec.html).
|
(http://www.bford.info/cachedir/spec.html).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
tag_path = os.path.join(path, CACHE_TAG_NAME)
|
tag_path = os.path.join(path, CACHE_TAG_NAME)
|
||||||
|
|
Loading…
Reference in New Issue