|
| 1 | +from _typeshed import StrPath |
| 2 | +from collections.abc import Iterator |
| 3 | +from typing import Match |
| 4 | + |
| 5 | +class Store: |
| 6 | + def __init__( |
| 7 | + self, |
| 8 | + gpg_bin: str = ..., |
| 9 | + git_bin: str = ..., |
| 10 | + store_dir: str = ..., |
| 11 | + use_agent: bool = ..., |
| 12 | + interactive: bool = ..., |
| 13 | + verbose: bool = ..., |
| 14 | + ) -> None: ... |
| 15 | + def __iter__(self) -> Iterator[str]: ... |
| 16 | + def is_init(self) -> bool: ... |
| 17 | + def init_store(self, gpg_ids: None | str | list[str], path: StrPath | None = ...) -> None: ... |
| 18 | + def init_git(self) -> None: ... |
| 19 | + def git(self, method: str, *args: object, **kwargs: object) -> None: ... |
| 20 | + def get_key(self, path: StrPath | None) -> str | None: ... |
| 21 | + def set_key(self, path: StrPath | None, key_data: str, force: bool = ...) -> None: ... |
| 22 | + def remove_path(self, path: StrPath, recursive: bool = ..., force: bool = ...) -> None: ... |
| 23 | + def gen_key( |
| 24 | + self, path: StrPath | None, length: int, symbols: bool = ..., force: bool = ..., inplace: bool = ... |
| 25 | + ) -> str | None: ... |
| 26 | + def copy_path(self, old_path: StrPath, new_path: StrPath, force: bool = ...) -> None: ... |
| 27 | + def move_path(self, old_path: StrPath, new_path: StrPath, force: bool = ...) -> None: ... |
| 28 | + def list_dir(self, path: StrPath) -> tuple[list[str], list[str]]: ... |
| 29 | + def iter_dir(self, path: StrPath) -> Iterator[str]: ... |
| 30 | + def find(self, names: None | str | list[str]) -> list[str]: ... |
| 31 | + def search(self, term: str) -> dict[str, list[tuple[str, Match[str]]]]: ... |
0 commit comments