Compare commits

..

2 Commits

Author SHA1 Message Date
46332e1921 create dedupe stub 2025-07-12 12:37:16 +01:00
57069c2b69 create log 2025-07-12 12:37:06 +01:00
2 changed files with 19 additions and 2 deletions

13
src/layers/dedupe.py Normal file
View File

@ -0,0 +1,13 @@
from pathlib import Path
from dir import Root
from layer import Layer
class Dedupe(Layer):
def __init__(self, other: Root, log_path: Path):
super().__init__(log_path, "TCD")
self.other = other
def __process(self, root: Root):
pass

View File

@ -1,9 +1,13 @@
from abc import ABC, abstractmethod
from dir import Root
from log import Log, LogCat
from pathlib import Path
class Layer(ABC):
def __init__(self):
pass
def __init__(self, log_path: Path, log_category: str):
self.log_path = log_path
self.__log = Log(log_path)
self.log = LogCat(self.__log.queue, log_category)
@abstractmethod
def __process(self, root: Root):