Skip to content

Commit

Permalink
checksum.md5 only works with StrPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Daverball committed Nov 18, 2023
1 parent af73ad2 commit 0925339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stubs/fanstatic/fanstatic/checksum.pyi
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from _typeshed import GenericPath
from _typeshed import GenericPath, StrOrBytesPath, StrPath
from collections.abc import Iterator
from typing import AnyStr

VCS_NAMES: list[str]
IGNORED_EXTENSIONS: list[str]

def list_directory(path: GenericPath[AnyStr], include_directories: bool = True) -> Iterator[AnyStr]: ...
def mtime(path: GenericPath[AnyStr]) -> str: ...
def md5(path: GenericPath[AnyStr]) -> str: ...
def mtime(path: StrOrBytesPath) -> str: ...
def md5(path: StrPath) -> str: ...

0 comments on commit 0925339

Please sign in to comment.