1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 09:39:16 +00:00

Add dotfile-specific ignore_missing option

This commit is contained in:
Marcel Robitaille
2020-12-12 00:41:05 -05:00
parent b4d7791a60
commit fdc6c91e08
4 changed files with 28 additions and 21 deletions

View File

@@ -22,7 +22,8 @@ class Dotfile(DictParser):
actions=[], trans_r=None, trans_w=None,
link=LinkTypes.NOLINK, noempty=False,
cmpignore=[], upignore=[],
instignore=[], template=True, chmod=None):
instignore=[], template=True, chmod=None,
ignore_missing_in_dotdrop=False):
"""
constructor
@key: dotfile key
@@ -52,6 +53,7 @@ class Dotfile(DictParser):
self.instignore = instignore
self.template = template
self.chmod = chmod
self.ignore_missing_in_dotdrop = ignore_missing_in_dotdrop
if self.link != LinkTypes.NOLINK and \
(