@@ -412,6 +412,26 @@ public struct URLResourceValues {
412
412
@available ( macOS 10 . 12 , iOS 10 . 0 , tvOS 10 . 0 , watchOS 3 . 0 , * )
413
413
public var volumeSupportsCompression : Bool ? { return _get ( . volumeSupportsCompressionKey) }
414
414
415
+ /// true if the volume supports clonefile(2).
416
+ @available ( macOS 10 . 12 , iOS 10 . 0 , tvOS 10 . 0 , watchOS 3 . 0 , * )
417
+ public var volumeSupportsFileCloning : Bool ? { return _get ( . volumeSupportsFileCloningKey) }
418
+
419
+ /// true if the volume supports renamex_np(2)'s RENAME_SWAP option.
420
+ @available ( macOS 10 . 12 , iOS 10 . 0 , tvOS 10 . 0 , watchOS 3 . 0 , * )
421
+ public var volumeSupportsSwapRenaming : Bool ? { return _get ( . volumeSupportsSwapRenamingKey) }
422
+
423
+ /// true if the volume supports renamex_np(2)'s RENAME_EXCL option.
424
+ @available ( macOS 10 . 12 , iOS 10 . 0 , tvOS 10 . 0 , watchOS 3 . 0 , * )
425
+ public var volumeSupportsExclusiveRenaming : Bool ? { return _get ( . volumeSupportsExclusiveRenamingKey) }
426
+
427
+ /// true if the volume supports making files immutable with isUserImmutable or isSystemImmutable.
428
+ @available ( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * )
429
+ public var volumeSupportsImmutableFiles : Bool ? { return _get ( . volumeSupportsImmutableFilesKey) }
430
+
431
+ /// true if the volume supports setting POSIX access permissions with fileSecurity.
432
+ @available ( macOS 10 . 13 , iOS 11 . 0 , tvOS 11 . 0 , watchOS 4 . 0 , * )
433
+ public var volumeSupportsAccessPermissions : Bool ? { return _get ( . volumeSupportsAccessPermissionsKey) }
434
+
415
435
/// true if this item is synced to the cloud, false if it is only a local file.
416
436
public var isUbiquitousItem : Bool ? { return _get ( . isUbiquitousItemKey) }
417
437
0 commit comments