Format: application/octet-stream
⬇ Download File (628 B)
   1  from _typeshed import AnyPath
   2  from typing import Any, Optional, Pattern
   3  
   4  # rx can be any object with a 'search' method; once we have Protocols we can change the type
   5  def compile_dir(
   6      dir: AnyPath,
   7      maxlevels: int = ...,
   8      ddir: Optional[AnyPath] = ...,
   9      force: bool = ...,
  10      rx: Optional[Pattern[Any]] = ...,
  11      quiet: int = ...,
  12  ) -> int: ...
  13  def compile_file(
  14      fullname: AnyPath, ddir: Optional[AnyPath] = ..., force: bool = ..., rx: Optional[Pattern[Any]] = ..., quiet: int = ...
  15  ) -> int: ...
  16  def compile_path(skip_curdir: bool = ..., maxlevels: int = ..., force: bool = ..., quiet: int = ...) -> int: ...
  17