Ignore .gitkeep files

This commit is contained in:
Reid 'arrdem' McKenzie 2022-07-21 22:48:59 -06:00
parent 5d132514c1
commit 0fb3cfa595

View file

@ -34,6 +34,9 @@ def stow(fs: Vfs, src_dir: Path, dest_dir: Path, skip=[]):
if src in skip: if src in skip:
continue continue
elif src.name.endswith(".gitkeep"):
continue
dest = dest_root / src.relative_to(src_root) dest = dest_root / src.relative_to(src_root)
if src.is_dir(): if src.is_dir():
fs.mkdir(dest) fs.mkdir(dest)