mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-12 17:57:43 +00:00
Add the configuration to get user data.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from .user_data_paths_port import UserDataPathsPort
|
||||
|
||||
__all__ = ['UserDataPathsPort']
|
||||
@@ -0,0 +1,15 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class UserDataPathsPort(ABC):
|
||||
@abstractmethod
|
||||
def safe_create_user_data_dir(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_user_db_path(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_user_data_dir(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user