File: apt_inst.pyi

package info (click to toggle)
python-apt 3.0.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,064 kB
  • sloc: cpp: 10,310; python: 8,803; makefile: 94; sh: 17
file content (37 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from typing import *

class ArArchive:
    def extract(self) -> None: ...

class DebFile:
    def __init__(self, file: object) -> None: ...
    control: TarFile
    data: TarFile

class TarMember:
    def isblk(self) -> bool: ...
    def ischr(self) -> bool: ...
    def isdev(self) -> bool: ...
    def isdir(self) -> bool: ...
    def isfifo(self) -> bool: ...
    def isfile(self) -> bool: ...
    def islnk(self) -> bool: ...
    def isreg(self) -> bool: ...
    def issym(self) -> bool: ...

    gid: int
    linkname: str
    major: int
    minor: int
    mode: int
    mtime: int
    name: str
    size: int
    uid: int

class TarFile:
    def extractall(self, rootdir: str = "") -> None: ...
    def extractdata(self, member: str) -> bytes: ...
    def go(
        self, callback: Callable[[TarMember, bytes], None], member: str = ""
    ) -> None: ...