sapling/eden/scm/edenscmnative/bindings/dirs.pyi
Adam Simpkins 0cb0a0bb2a begin adding some type stubs for the Rust Python bindings
Summary: Begin adding some initial type annotations for the Rust Python bindings.

Reviewed By: quark-zju

Differential Revision: D22993222

fbshipit-source-id: 2073db93b22f6bb04e30b767594d435c36ddb17f
2020-08-11 21:45:04 -07:00

15 lines
504 B
Python

# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
from typing import Iterable
class dirs(Iterable[str]):
def __init__(self, paths: Iterable[str]) -> None: ...
def addpath(self, path: str) -> None: ...
def delpath(self, path: str) -> None: ...
def __contains__(self, path: str) -> bool: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterable[str]: ...