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

Merge pull request #222 from deadc0de6/import-as

Import as
This commit is contained in:
deadc0de
2020-04-16 18:23:20 +02:00
committed by GitHub
8 changed files with 293 additions and 68 deletions

View File

@@ -818,6 +818,10 @@ class CfgYaml:
self.dirty = True
return self.dirty
def get_all_dotfile_keys(self):
"""return all existing dotfile keys"""
return self.dotfiles.keys()
def add_dotfile(self, key, src, dst, link):
"""add a new dotfile"""
if key in self.dotfiles.keys():