-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
review src/typings/netius/adapters/fs.pyi
- Loading branch information
1 parent
7546415
commit 1e0b15a
Showing
1 changed file
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ... |