mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 18:29:17 +00:00
doc
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user