From f67f054773cfde81edd776cce0e6a780c81f7119 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 20 May 2025 22:38:21 +0200 Subject: [PATCH] doc --- dotdrop/dotfile.py | 2 +- dotdrop/ftree.py | 3 ++- dotdrop/installer.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dotdrop/dotfile.py b/dotdrop/dotfile.py index f033aad..9838a80 100644 --- a/dotdrop/dotfile.py +++ b/dotdrop/dotfile.py @@ -40,7 +40,7 @@ class Dotfile(DictParser): @instignore: patterns to ignore when installing @template: template this dotfile @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.dst = dst diff --git a/dotdrop/ftree.py b/dotdrop/ftree.py index d911899..31d7c12 100644 --- a/dotdrop/ftree.py +++ b/dotdrop/ftree.py @@ -18,7 +18,8 @@ class FTreeDir: directory tree for comparison """ - def __init__(self, path, ignores=None, + def __init__(self, path, + ignores=None, debug=False): self.path = path self.ignores = ignores diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 584fa0c..2c127c9 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -95,7 +95,7 @@ class Installer: @ignore: pattern to ignore when installing @is_template: this dotfile is a template @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 - True, None : success