From 4a52a71956a8d46fcb7294ac71734504bb09bcc2 Mon Sep 17 00:00:00 2001 From: S. Solomon Darnell Date: Fri, 28 Mar 2025 21:52:21 -0500 Subject: two version of R2R are here --- .../site-packages/aiofiles-stubs/ospath.pyi | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .venv/lib/python3.12/site-packages/aiofiles-stubs/ospath.pyi (limited to '.venv/lib/python3.12/site-packages/aiofiles-stubs/ospath.pyi') diff --git a/.venv/lib/python3.12/site-packages/aiofiles-stubs/ospath.pyi b/.venv/lib/python3.12/site-packages/aiofiles-stubs/ospath.pyi new file mode 100644 index 00000000..a5863753 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aiofiles-stubs/ospath.pyi @@ -0,0 +1,23 @@ +from _typeshed import FileDescriptorOrPath +from asyncio.events import AbstractEventLoop +from collections.abc import Awaitable, Callable +from os import PathLike +from typing import Any, AnyStr, TypeVar + +_R = TypeVar("_R") + +def wrap(func: Callable[..., _R]) -> Callable[..., Awaitable[_R]]: ... +async def exists(path: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> bool: ... +async def isfile(path: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> bool: ... +async def isdir(s: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> bool: ... +async def islink(path: FileDescriptorOrPath) -> bool: ... +async def ismount(path: FileDescriptorOrPath) -> bool: ... +async def getsize(filename: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> int: ... +async def getmtime(filename: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> float: ... +async def getatime(filename: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> float: ... +async def getctime(filename: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> float: ... +async def samefile( + f1: FileDescriptorOrPath, f2: FileDescriptorOrPath, *, loop: AbstractEventLoop | None = ..., executor: Any = ... +) -> bool: ... +async def sameopenfile(fp1: int, fp2: int, *, loop: AbstractEventLoop | None = ..., executor: Any = ...) -> bool: ... +async def abspath(path: PathLike[AnyStr] | AnyStr) -> AnyStr: ... -- cgit v1.2.3