pyobjc-framework-FSKit 12.2__cp315-cp315-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
FSKit/__init__.py ADDED
@@ -0,0 +1,69 @@
1
+ """
2
+ Python mapping for the FSKit framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import objc
13
+ import Foundation
14
+ from . import _metadata, _FSKit
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="FSKit",
18
+ frameworkIdentifier="com.apple.FSKit",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/FSKit.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _FSKit,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("FSClient", b"init"),
36
+ ("FSClient", b"new"),
37
+ ("FSContainerStatus", b"init"),
38
+ ("FSContainerStatus", b"new"),
39
+ ("FSFileName", b"init"),
40
+ ("FSFileName", b"new"),
41
+ ("FSMutableFileDataBuffer", b"init"),
42
+ ("FSMutableFileDataBuffer", b"new"),
43
+ ("FSResource", b"init"),
44
+ ("FSResource", b"new"),
45
+ ("FSMetadataRange", b"init"),
46
+ ("FSMetadataRange", b"new"),
47
+ ("FSProbeResult", b"init"),
48
+ ("FSProbeResult", b"new"),
49
+ ("FSTaskOptions", b"init"),
50
+ ("FSTaskOptions", b"new"),
51
+ ("FSDirectoryEntryPacker", b"init"),
52
+ ("FSDirectoryEntryPacker", b"new"),
53
+ ("FSVolume", b"init"),
54
+ ("FSVolume", b"new"),
55
+ ("FSStatFSResult", b"init"),
56
+ ("FSStatFSResult", b"new"),
57
+ ("FSExtentPacker", b"init"),
58
+ ("FSExtentPacker", b"new"),
59
+ ("FSGenericURLResource", b"init"),
60
+ ("FSGenericURLResource", b"new"),
61
+ ("FSPathURLResource", b"init"),
62
+ ("FSPathURLResource", b"new"),
63
+ ):
64
+ objc.registerUnavailableMethod(cls, sel)
65
+
66
+ del sys.modules["FSKit._metadata"]
67
+
68
+
69
+ globals().pop("_setup")()