Compare commits
No commits in common. "46332e1921ad28e777289e38d7c9f5394f51c3c9" and "54944244ae4e09fae16e6ae66f0b29889ea2a08d" have entirely different histories.
46332e1921
...
54944244ae
|
@ -1,13 +0,0 @@
|
||||||
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
|
|
|
@ -1,13 +1,9 @@
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from dir import Root
|
from dir import Root
|
||||||
from log import Log, LogCat
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
class Layer(ABC):
|
class Layer(ABC):
|
||||||
def __init__(self, log_path: Path, log_category: str):
|
def __init__(self):
|
||||||
self.log_path = log_path
|
pass
|
||||||
self.__log = Log(log_path)
|
|
||||||
self.log = LogCat(self.__log.queue, log_category)
|
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __process(self, root: Root):
|
def __process(self, root: Root):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user