| Server IP : 50.21.180.56 / Your IP : 216.73.216.208 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67922704 ( 67922704) PHP Version : 8.5.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/usr/lib/python3/dist-packages/mercurial/interfaces/ |
Upload File : |
# mercurial/interfaces/types.py - type alias for interfaces
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
#
# This is the main entry point for Mercurial code writing type annotations.
#
# The general principle can be summarized when dealing with <FooBar> object:
# - to type your code: use FooBarT from `mercurial.interface.types`
# - to subclass <FooBar>: use IFooBar from `mercurial.interface.foo_bar`
from __future__ import annotations
from ._basetypes import ( # noqa: F401 (ignore imported but not used)
CallbackCategoryT,
FsPathT,
HgPathT,
RepoT,
UiT,
UserMsgT,
VfsKeyT,
VfsT,
)
from . import (
matcher,
transaction,
)
MatcherT = matcher.IMatcher
TransactionT = transaction.ITransaction