mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 14:39:16 +00:00
implement include for #12
This commit is contained in:
@@ -22,3 +22,9 @@ class Dotfile:
|
||||
def __str__(self):
|
||||
return 'key:%s, src: %s, dst: %s, link: %s' % (self.key, self.src,
|
||||
self.dst, self.link)
|
||||
|
||||
def __eq__(self, other):
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __hash__(self):
|
||||
return hash(self.dst) ^ hash(self.src) ^ hash(self.key)
|
||||
|
||||
Reference in New Issue
Block a user