pyobjc-framework-FSKit 12.1__tar.gz → 12.2.1__tar.gz
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.
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/FSKit/_metadata.py +47 -2
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/pyobjc_framework_FSKit.egg-info/PKG-INFO +3 -3
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/pyobjc_framework_FSKit.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_fskit-12.2.1/Lib/pyobjc_framework_FSKit.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_fskit-12.2.1/Lib/pyobjc_framework_FSKit.egg-info/requires.txt +2 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Modules/pyobjc-compat.h +5 -2
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PKG-INFO +3 -3
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsvolume.py +16 -0
- pyobjc_framework_fskit-12.1/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_fskit-12.2.1/metadata/raw/arm64-26.5.fwinfo +2002 -163
- pyobjc_framework_fskit-12.1/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_fskit-12.2.1/metadata/raw/x86_64-26.5.fwinfo +2002 -163
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/setup.py +1 -1
- pyobjc_framework_fskit-12.1/Lib/pyobjc_framework_FSKit.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_fskit-12.1/Lib/pyobjc_framework_FSKit.egg-info/requires.txt +0 -2
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/FSKit/__init__.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/pyobjc_framework_FSKit.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/pyobjc_framework_FSKit.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Lib/pyobjc_framework_FSKit.egg-info/top_level.txt +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/License.txt +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/MANIFEST.in +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Modules/_FSKit.m +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Modules/_FSKit_protocols.m +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsclient.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fscontainer.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsfilename.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsfilesystembase.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsitem.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fskit.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fskiterror.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fskitfunctions.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsmoduleidentity.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsmutablefiledatabuffer.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsresources.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fstask.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsunaryfilesystem.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/PyObjCTest/test_fsvolumeextent.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/metadata/FSKit.fwinfo +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/metadata/FSKit.fwinfo.sv +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/metadata/metadata.ini +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/pyobjc_setup.py +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/pyproject.toml +0 -0
- {pyobjc_framework_fskit-12.1 → pyobjc_framework_fskit-12.2.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sun May 24 11:48:55 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$FSDirectoryCookieInitial@Q$FSDirectoryVerifierInitial@Q$FSKitErrorDomain$FSKitVersionNumber@d$FSOperationIDUnspecified@Q$"""
|
|
34
|
-
enums = """$FSAccessAddFile@4$FSAccessAddSubdirectory@32$FSAccessAppendData@32$FSAccessDelete@16$FSAccessDeleteChild@64$FSAccessExecute@8$FSAccessListDirectory@2$FSAccessReadAttributes@128$FSAccessReadData@2$FSAccessReadSecurity@2048$FSAccessReadXattr@512$FSAccessSearch@8$FSAccessTakeOwnership@8192$FSAccessWriteAttributes@256$FSAccessWriteData@4$FSAccessWriteSecurity@4096$FSAccessWriteXattr@1024$FSBlockmapFlagsRead@256$FSBlockmapFlagsWrite@512$FSCompleteIOFlagsAsync@1024$FSCompleteIOFlagsRead@256$FSCompleteIOFlagsWrite@512$FSContainerStateActive@3$FSContainerStateBlocked@1$FSContainerStateNotReady@0$FSContainerStateReady@2$FSDeactivateOptionsForce@1$FSErrorInvalidDirectoryCookie@4506$FSErrorModuleLoadFailed@4500$FSErrorResourceDamaged@4502$FSErrorResourceUnrecognized@4501$FSErrorResourceUnusable@4503$FSErrorStatusOperationInProgress@4504$FSErrorStatusOperationPaused@4505$FSExtentTypeData@0$FSExtentTypeZeroFill@1$FSItemAttributeAccessTime@1024$FSItemAttributeAddedTime@32768$FSItemAttributeAllocSize@128$FSItemAttributeBackupTime@16384$FSItemAttributeBirthTime@8192$FSItemAttributeChangeTime@4096$FSItemAttributeFileID@256$FSItemAttributeFlags@32$FSItemAttributeGID@16$FSItemAttributeInhibitKernelOffloadedIO@131072$FSItemAttributeLinkCount@4$FSItemAttributeMode@2$FSItemAttributeModifyTime@2048$FSItemAttributeParentID@512$FSItemAttributeSize@64$FSItemAttributeSupportsLimitedXAttrs@65536$FSItemAttributeType@1$FSItemAttributeUID@8$FSItemDeactivationAlways@18446744073709551615$FSItemDeactivationForPreallocatedItems@2$FSItemDeactivationForRemovedItems@1$FSItemDeactivationNever@0$FSItemIDInvalid@0$FSItemIDParentOfRoot@1$FSItemIDRootDirectory@2$FSItemTypeBlockDevice@6$FSItemTypeCharDevice@5$FSItemTypeDirectory@2$FSItemTypeFIFO@4$FSItemTypeFile@1$FSItemTypeSocket@7$FSItemTypeSymlink@3$FSItemTypeUnknown@0$FSMatchResultNotRecognized@0$FSMatchResultRecognized@1$FSMatchResultUsable@3$FSMatchResultUsableButLimited@2$FSPreallocateFlagsAll@4$FSPreallocateFlagsContiguous@2$FSPreallocateFlagsFromEOF@16$FSPreallocateFlagsPersist@8$FSSetXattrPolicyAlwaysSet@0$FSSetXattrPolicyDelete@3$FSSetXattrPolicyMustCreate@1$FSSetXattrPolicyMustReplace@2$FSSyncFlagsDWait@4$FSSyncFlagsNoWait@2$FSSyncFlagsWait@1$FSVolumeCaseFormatInsensitive@1$FSVolumeCaseFormatInsensitiveCasePreserving@2$FSVolumeCaseFormatSensitive@0$FSVolumeOpenModesRead@1$FSVolumeOpenModesWrite@2$"""
|
|
34
|
+
enums = """$FSAccessAddFile@4$FSAccessAddSubdirectory@32$FSAccessAppendData@32$FSAccessDelete@16$FSAccessDeleteChild@64$FSAccessExecute@8$FSAccessListDirectory@2$FSAccessReadAttributes@128$FSAccessReadData@2$FSAccessReadSecurity@2048$FSAccessReadXattr@512$FSAccessSearch@8$FSAccessTakeOwnership@8192$FSAccessWriteAttributes@256$FSAccessWriteData@4$FSAccessWriteSecurity@4096$FSAccessWriteXattr@1024$FSBlockmapFlagsRead@256$FSBlockmapFlagsWrite@512$FSCompleteIOFlagsAsync@1024$FSCompleteIOFlagsRead@256$FSCompleteIOFlagsWrite@512$FSContainerStateActive@3$FSContainerStateBlocked@1$FSContainerStateNotReady@0$FSContainerStateReady@2$FSDeactivateOptionsForce@1$FSErrorInvalidDirectoryCookie@4506$FSErrorModuleLoadFailed@4500$FSErrorResourceDamaged@4502$FSErrorResourceUnrecognized@4501$FSErrorResourceUnusable@4503$FSErrorStatusOperationInProgress@4504$FSErrorStatusOperationPaused@4505$FSExtentTypeData@0$FSExtentTypeZeroFill@1$FSItemAttributeAccessTime@1024$FSItemAttributeAddedTime@32768$FSItemAttributeAllocSize@128$FSItemAttributeBackupTime@16384$FSItemAttributeBirthTime@8192$FSItemAttributeChangeTime@4096$FSItemAttributeFileID@256$FSItemAttributeFlags@32$FSItemAttributeGID@16$FSItemAttributeInhibitKernelOffloadedIO@131072$FSItemAttributeLinkCount@4$FSItemAttributeMode@2$FSItemAttributeModifyTime@2048$FSItemAttributeParentID@512$FSItemAttributeSize@64$FSItemAttributeSupportsLimitedXAttrs@65536$FSItemAttributeType@1$FSItemAttributeUID@8$FSItemDeactivationAlways@18446744073709551615$FSItemDeactivationForPreallocatedItems@2$FSItemDeactivationForRemovedItems@1$FSItemDeactivationNever@0$FSItemIDInvalid@0$FSItemIDParentOfRoot@1$FSItemIDRootDirectory@2$FSItemTypeBlockDevice@6$FSItemTypeCharDevice@5$FSItemTypeDirectory@2$FSItemTypeFIFO@4$FSItemTypeFile@1$FSItemTypeSocket@7$FSItemTypeSymlink@3$FSItemTypeUnknown@0$FSMatchResultNotRecognized@0$FSMatchResultRecognized@1$FSMatchResultUsable@3$FSMatchResultUsableButLimited@2$FSMountOptionsReadOnly@1$FSPreallocateFlagsAll@4$FSPreallocateFlagsContiguous@2$FSPreallocateFlagsFromEOF@16$FSPreallocateFlagsPersist@8$FSSetXattrPolicyAlwaysSet@0$FSSetXattrPolicyDelete@3$FSSetXattrPolicyMustCreate@1$FSSetXattrPolicyMustReplace@2$FSSyncFlagsDWait@4$FSSyncFlagsNoWait@2$FSSyncFlagsWait@1$FSVolumeCaseFormatInsensitive@1$FSVolumeCaseFormatInsensitiveCasePreserving@2$FSVolumeCaseFormatSensitive@0$FSVolumeOpenModesRead@1$FSVolumeOpenModesWrite@2$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"FSItemDeactivationOptions": NewType("FSItemDeactivationOptions", int),
|
|
@@ -40,6 +40,7 @@ misc.update(
|
|
|
40
40
|
"FSItemID": NewType("FSItemID", int),
|
|
41
41
|
"FSCompleteIOFlags": NewType("FSCompleteIOFlags", int),
|
|
42
42
|
"FSSyncFlags": NewType("FSSyncFlags", int),
|
|
43
|
+
"FSMountOptions": NewType("FSMountOptions", int),
|
|
43
44
|
"FSVolumeOpenModes": NewType("FSVolumeOpenModes", int),
|
|
44
45
|
"FSSetXattrPolicy": NewType("FSSetXattrPolicy", int),
|
|
45
46
|
"FSVolumeCaseFormat": NewType("FSVolumeCaseFormat", int),
|
|
@@ -1406,6 +1407,11 @@ try:
|
|
|
1406
1407
|
},
|
|
1407
1408
|
},
|
|
1408
1409
|
)
|
|
1410
|
+
r(
|
|
1411
|
+
b"NSObject",
|
|
1412
|
+
b"requestedMountOptions",
|
|
1413
|
+
{"required": False, "retval": {"type": b"Q"}},
|
|
1414
|
+
)
|
|
1409
1415
|
r(
|
|
1410
1416
|
b"NSObject",
|
|
1411
1417
|
b"restrictsOwnershipChanges",
|
|
@@ -1459,6 +1465,11 @@ try:
|
|
|
1459
1465
|
b"setPreallocateInhibited:",
|
|
1460
1466
|
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
|
|
1461
1467
|
)
|
|
1468
|
+
r(
|
|
1469
|
+
b"NSObject",
|
|
1470
|
+
b"setRequestedMountOptions:",
|
|
1471
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"Q"}}},
|
|
1472
|
+
)
|
|
1462
1473
|
r(
|
|
1463
1474
|
b"NSObject",
|
|
1464
1475
|
b"setVolumeName:replyHandler:",
|
|
@@ -1654,20 +1665,54 @@ try:
|
|
|
1654
1665
|
finally:
|
|
1655
1666
|
objc._updatingMetadata(False)
|
|
1656
1667
|
|
|
1668
|
+
objc.registerNewKeywordsFromSelector("FSBlockDeviceResource", b"init")
|
|
1669
|
+
objc.registerNewKeywordsFromSelector("FSClient", b"init")
|
|
1670
|
+
objc.registerNewKeywordsFromSelector("FSContainerStatus", b"init")
|
|
1671
|
+
objc.registerNewKeywordsFromSelector("FSDirectoryEntryPacker", b"init")
|
|
1672
|
+
objc.registerNewKeywordsFromSelector("FSEntityIdentifier", b"init")
|
|
1657
1673
|
objc.registerNewKeywordsFromSelector("FSEntityIdentifier", b"initWithUUID:")
|
|
1658
1674
|
objc.registerNewKeywordsFromSelector("FSEntityIdentifier", b"initWithUUID:data:")
|
|
1659
1675
|
objc.registerNewKeywordsFromSelector("FSEntityIdentifier", b"initWithUUID:qualifier:")
|
|
1676
|
+
objc.registerNewKeywordsFromSelector("FSExtentPacker", b"init")
|
|
1677
|
+
objc.registerNewKeywordsFromSelector("FSFileName", b"init")
|
|
1660
1678
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithBytes:length:")
|
|
1661
1679
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithCString:")
|
|
1662
1680
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithData:")
|
|
1663
1681
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithString:")
|
|
1682
|
+
objc.registerNewKeywordsFromSelector("FSGenericURLResource", b"init")
|
|
1664
1683
|
objc.registerNewKeywordsFromSelector("FSGenericURLResource", b"initWithURL:")
|
|
1684
|
+
objc.registerNewKeywordsFromSelector("FSMetadataRange", b"init")
|
|
1665
1685
|
objc.registerNewKeywordsFromSelector(
|
|
1666
1686
|
"FSMetadataRange", b"initWithOffset:segmentLength:segmentCount:"
|
|
1667
1687
|
)
|
|
1688
|
+
objc.registerNewKeywordsFromSelector("FSMutableFileDataBuffer", b"init")
|
|
1689
|
+
objc.registerNewKeywordsFromSelector("FSPathURLResource", b"init")
|
|
1668
1690
|
objc.registerNewKeywordsFromSelector("FSPathURLResource", b"initWithURL:writable:")
|
|
1691
|
+
objc.registerNewKeywordsFromSelector("FSProbeResult", b"init")
|
|
1692
|
+
objc.registerNewKeywordsFromSelector("FSResource", b"init")
|
|
1693
|
+
objc.registerNewKeywordsFromSelector("FSStatFSResult", b"init")
|
|
1669
1694
|
objc.registerNewKeywordsFromSelector("FSStatFSResult", b"initWithFileSystemTypeName:")
|
|
1695
|
+
objc.registerNewKeywordsFromSelector("FSTaskOptions", b"init")
|
|
1696
|
+
objc.registerNewKeywordsFromSelector("FSVolume", b"init")
|
|
1670
1697
|
objc.registerNewKeywordsFromSelector("FSVolume", b"initWithVolumeID:volumeName:")
|
|
1698
|
+
|
|
1699
|
+
objc.registerNewKeywords("FSContainerStatus", ("status",), "activeWithStatus_")
|
|
1700
|
+
objc.registerNewKeywords("FSContainerStatus", ("status",), "blockedWithStatus_")
|
|
1701
|
+
objc.registerNewKeywords("FSContainerStatus", ("status",), "notReadyWithStatus_")
|
|
1702
|
+
objc.registerNewKeywords("FSContainerStatus", ("status",), "readyWithStatus_")
|
|
1703
|
+
objc.registerNewKeywords(
|
|
1704
|
+
"FSProbeResult",
|
|
1705
|
+
("name", "containerID"),
|
|
1706
|
+
"recognizedProbeResultWithName_containerID_",
|
|
1707
|
+
)
|
|
1708
|
+
objc.registerNewKeywords(
|
|
1709
|
+
"FSProbeResult",
|
|
1710
|
+
("name", "containerID"),
|
|
1711
|
+
"usableButLimitedProbeResultWithName_containerID_",
|
|
1712
|
+
)
|
|
1713
|
+
objc.registerNewKeywords(
|
|
1714
|
+
"FSProbeResult", ("name", "containerID"), "usableProbeResultWithName_containerID_"
|
|
1715
|
+
)
|
|
1671
1716
|
expressions = {}
|
|
1672
1717
|
|
|
1673
1718
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-FSKit
|
|
3
|
-
Version: 12.1
|
|
3
|
+
Version: 12.2.1
|
|
4
4
|
Summary: Wrappers for the framework FSKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.10
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=12.1
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.1
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2.1
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
|
|
35
35
|
Dynamic: author
|
|
36
36
|
Dynamic: author-email
|
|
37
37
|
Dynamic: classifier
|
|
@@ -57,8 +57,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
57
57
|
/*
|
|
58
58
|
*
|
|
59
59
|
* Start of compiler support helpers
|
|
60
|
-
*
|
|
61
|
-
* XXX: Are these needed?
|
|
62
60
|
*/
|
|
63
61
|
|
|
64
62
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
@@ -363,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
363
361
|
}
|
|
364
362
|
#endif
|
|
365
363
|
|
|
364
|
+
#if PY_VERSION_HEX < 0x030f00a7
|
|
365
|
+
#define PyAnyDict_CheckExact PyDict_CheckExact
|
|
366
|
+
#define PyAnyDict_Check PyDict_Check
|
|
367
|
+
#endif
|
|
368
|
+
|
|
366
369
|
NS_ASSUME_NONNULL_END
|
|
367
370
|
|
|
368
371
|
#endif /* PyObjC_COMPAT_H */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-FSKit
|
|
3
|
-
Version: 12.1
|
|
3
|
+
Version: 12.2.1
|
|
4
4
|
Summary: Wrappers for the framework FSKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.10
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=12.1
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.1
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2.1
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
|
|
35
35
|
Dynamic: author
|
|
36
36
|
Dynamic: author-email
|
|
37
37
|
Dynamic: classifier
|
|
@@ -128,6 +128,12 @@ class TestFSVolumeHelper(FSKit.NSObject):
|
|
|
128
128
|
def setEnableOpenUnlinkEmulation_(self, a):
|
|
129
129
|
pass
|
|
130
130
|
|
|
131
|
+
def requestedMountOptions(self):
|
|
132
|
+
return 1
|
|
133
|
+
|
|
134
|
+
def setRequestedMountOptions_(self, a):
|
|
135
|
+
pass
|
|
136
|
+
|
|
131
137
|
# FSVolumeReadWriteOperations
|
|
132
138
|
def readFromFile_offset_length_intoBuffer_replyHandler_(self, a, b, c, d, e):
|
|
133
139
|
pass
|
|
@@ -231,6 +237,9 @@ class TestFSVolume(TestCase):
|
|
|
231
237
|
self.assertEqual(FSKit.FSItemDeactivationForRemovedItems, 1 << 0)
|
|
232
238
|
self.assertEqual(FSKit.FSItemDeactivationForPreallocatedItems, 1 << 1)
|
|
233
239
|
|
|
240
|
+
self.assertIsEnumType(FSKit.FSMountOptions)
|
|
241
|
+
self.assertEqual(FSKit.FSMountOptionsReadOnly, 1 << 0)
|
|
242
|
+
|
|
234
243
|
def test_protocols(self):
|
|
235
244
|
self.assertProtocolExists("FSVolumePathConfOperations")
|
|
236
245
|
self.assertProtocolExists("FSVolumeOperations")
|
|
@@ -349,6 +358,13 @@ class TestFSVolume(TestCase):
|
|
|
349
358
|
self.assertResultIsBOOL(TestFSVolumeHelper.enableOpenUnlinkEmulation)
|
|
350
359
|
self.assertArgIsBOOL(TestFSVolumeHelper.setEnableOpenUnlinkEmulation_, 0)
|
|
351
360
|
|
|
361
|
+
self.assertResultHasType(
|
|
362
|
+
TestFSVolumeHelper.requestedMountOptions, objc._C_NSUInteger
|
|
363
|
+
)
|
|
364
|
+
self.assertArgHasType(
|
|
365
|
+
TestFSVolumeHelper.setRequestedMountOptions_, 0, objc._C_NSUInteger
|
|
366
|
+
)
|
|
367
|
+
|
|
352
368
|
# FSVolumeXattrOperations
|
|
353
369
|
self.assertResultIsBOOL(TestFSVolumeHelper.xattrOperationsInhibited)
|
|
354
370
|
self.assertArgIsBOOL(TestFSVolumeHelper.setXattrOperationsInhibited_, 0)
|