1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 18:29:17 +00:00
This commit is contained in:
user
2025-05-20 22:38:21 +02:00
parent 2fea4ac363
commit f67f054773
3 changed files with 4 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ class Dotfile(DictParser):
@instignore: patterns to ignore when installing @instignore: patterns to ignore when installing
@template: template this dotfile @template: template this dotfile
@chmod: file permission @chmod: file permission
@dir_as_block: handle directory as a single block @dir_as_block: handle directory matching patterns as a single block
""" """
self.actions = actions or [] self.actions = actions or []
self.dst = dst self.dst = dst

View File

@@ -18,7 +18,8 @@ class FTreeDir:
directory tree for comparison directory tree for comparison
""" """
def __init__(self, path, ignores=None, def __init__(self, path,
ignores=None,
debug=False): debug=False):
self.path = path self.path = path
self.ignores = ignores self.ignores = ignores

View File

@@ -95,7 +95,7 @@ class Installer:
@ignore: pattern to ignore when installing @ignore: pattern to ignore when installing
@is_template: this dotfile is a template @is_template: this dotfile is a template
@chmod: rights to apply if any @chmod: rights to apply if any
@dir_as_block: if True, handle directories as a single block @dir_as_block: handle directories matching pattern as a single block
return return
- True, None : success - True, None : success