13 lines
306 B
Python
13 lines
306 B
Python
#!/usr/bin/env python3
|
|
|
|
from typing import Self
|
|
|
|
class FilesDriverInterface:
|
|
|
|
def fix_path(self:Self, path:str) -> str:pass
|
|
|
|
def get_absolute_path(self:Self, path:str) -> str|None:pass
|
|
|
|
def load(self:Self, path:str) -> bytes|None:pass
|
|
|
|
def get_mime(self:Self, path:str) -> str|None:pass |