Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed links to cachedir spec in docs and code to address #4140 #4143

Merged
merged 2 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/borg/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@ def define_exclude_and_patterns(add_option, *, tag_files=False, strip_components
if tag_files:
add_option('--exclude-caches', dest='exclude_caches', action='store_true',
help='exclude directories that contain a CACHEDIR.TAG file '
'(http://www.brynosaurus.com/cachedir/spec.html)')
'(http://www.bford.info/cachedir/spec.html)')
add_option('--exclude-if-present', metavar='NAME', dest='exclude_if_present',
action='append', type=str,
help='exclude directories that are tagged by containing a filesystem object with '
Expand Down
4 changes: 2 additions & 2 deletions src/borg/helpers/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_cache_dir():
fd.write(textwrap.dedent("""
# This file is a cache directory tag created by Borg.
# For information about cache directory tags, see:
# http://www.brynosaurus.com/cachedir/
# http://www.bford.info/cachedir/spec.html
""").encode('ascii'))
return cache_dir

Expand All @@ -85,7 +85,7 @@ def dir_is_cachedir(path):
"""Determines whether the specified path is a cache directory (and
therefore should potentially be excluded from the backup) according to
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)
Expand Down