Move IO_REPARSE_TAG_* constants to _stat (#6760)

This commit is contained in:
Akuli
2021-12-30 19:26:57 +02:00
committed by GitHub
parent 8f13f94605
commit 7fc402a6d0
5 changed files with 6 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
import sys
from typing_extensions import Literal
SF_APPEND: Literal[0x00040000]
@@ -76,3 +77,8 @@ def S_ISREG(mode: int) -> bool: ...
def S_ISSOCK(mode: int) -> bool: ...
def S_ISWHT(mode: int) -> bool: ...
def filemode(mode: int) -> str: ...
if sys.platform == "win32" and sys.version_info >= (3, 8):
IO_REPARSE_TAG_SYMLINK: int
IO_REPARSE_TAG_MOUNT_POINT: int
IO_REPARSE_TAG_APPEXECLINK: int