Skip to content

Commit

Permalink
review src/typings/netius/adapters/fs.pyi
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed Dec 14, 2023
1 parent 7546415 commit 1e0b15a
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions src/typings/netius/adapters/fs.pyi
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
import netius as netius
import netius.adapters.base
import netius.adapters.base as base
from _typeshed import Incomplete

__version__: str
__revision__: str
__date__: str
from typing import StrOrBytesPath
from typing import Any

class FsAdapter(netius.adapters.base.BaseAdapter):
def __init__(self, base_path: Incomplete | None = ...) -> None: ...
def set(self, value, owner: str = ...): ...
def get_file(self, key, mode: str = ...): ...
def delete(self, key, owner: str = ...): ...
def size(self, key): ...
def count(self, owner: Incomplete | None = ...): ...
def list(self, owner: Incomplete | None = ...): ...
def _path(self, owner: Incomplete | None = ...): ...
def _ensure(self, owner): ...
def _symlink(self, source, target): ...
def __init__(self, base_path: str | None = ...) -> None: ...
def set(self, value: Any, owner: str = ...) -> str: ...
def get_file(self, key: str, mode: str = ...) -> netius.legacy.StringIO: ...
def delete(self, key: str, owner: str = ...) -> None: ...
def size(self, key:str ) -> int: ...
def count(self, owner: str | None = ...) -> int: ...
def list(self, owner: str | None = ...) -> list[str]: ...
def _path(self, owner: str | None = ...) -> str: ...
def _ensure(self, owner: str) -> str: ...
def _symlink(self, source: StrOrBytesPath, target: StrOrBytesPath) -> None: ...

0 comments on commit 1e0b15a

Please sign in to comment.