@@ -85,17 +85,6 @@ public struct Stat: RawRepresentable, Sendable {
8585 @available ( macOS 26 . 0 , iOS 26 . 0 , tvOS 26 . 0 , watchOS 26 . 0 , visionOS 26 . 0 , * )
8686 public static var resolveBeneath : Flags { Flags ( rawValue: _AT_RESOLVE_BENEATH) }
8787 #endif
88-
89- // TODO: Re-enable when _GNU_SOURCE can be defined.
90- // #if os(FreeBSD) || os(Linux) || os(Android)
91- // /// If the path is an empty string (or `NULL` since Linux 6.11),
92- // /// return information about the given file descriptor.
93- // ///
94- // /// The corresponding C constant is `AT_EMPTY_PATH`.
95- // /// - Note: Only available on FreeBSD, Linux, and Android.
96- // @_alwaysEmitIntoClient
97- // public static var emptyPath: Flags { Flags(rawValue: _AT_EMPTY_PATH) }
98- // #endif
9988 }
10089
10190 // MARK: Initializers
@@ -520,59 +509,6 @@ public struct Stat: RawRepresentable, Sendable {
520509 }
521510 #endif
522511
523- // TODO: Investigate changing time properties to UTCClock.Instant once available.
524-
525- // /// Time of last access, given as a `UTCClock.Instant`
526- // ///
527- // /// The corresponding C property is `st_atim` (or `st_atimespec` on Darwin).
528- // public var accessTime: UTCClock.Instant {
529- // get {
530- // UTCClock.systemEpoch.advanced(by: Duration(st_atim))
531- // }
532- // set {
533- // st_atim = timespec(UTCClock.systemEpoch.duration(to: newValue))
534- // }
535- // }
536- //
537- // /// Time of last modification, given as a `UTCClock.Instant`
538- // ///
539- // /// The corresponding C property is `st_mtim` (or `st_mtimespec` on Darwin).
540- // public var modificationTime: UTCClock.Instant {
541- // get {
542- // UTCClock.systemEpoch.advanced(by: Duration(st_mtim))
543- // }
544- // set {
545- // st_mtim = timespec(UTCClock.systemEpoch.duration(to: newValue))
546- // }
547- // }
548- //
549- // /// Time of last status (inode) change, given as a `UTCClock.Instant`
550- // ///
551- // /// The corresponding C property is `st_ctim` (or `st_ctimespec` on Darwin).
552- // public var changeTime: UTCClock.Instant {
553- // get {
554- // UTCClock.systemEpoch.advanced(by: Duration(st_ctim))
555- // }
556- // set {
557- // st_ctim = timespec(UTCClock.systemEpoch.duration(to: newValue))
558- // }
559- // }
560- //
561- // #if SYSTEM_PACKAGE_DARWIN || os(FreeBSD)
562- // /// Time of file creation, given as a `UTCClock.Instant`
563- // ///
564- // /// The corresponding C property is `st_birthtim` (or `st_birthtimespec` on Darwin).
565- // /// - Note: Only available on Darwin and FreeBSD.
566- // public var creationTime: UTCClock.Instant {
567- // get {
568- // UTCClock.systemEpoch.advanced(by: Duration(st_birthtim))
569- // }
570- // set {
571- // st_birthtim = timespec(UTCClock.systemEpoch.duration(to: newValue))
572- // }
573- // }
574- // #endif
575-
576512 #if SYSTEM_PACKAGE_DARWIN || os(FreeBSD) || os(OpenBSD)
577513 /// File flags
578514 ///
0 commit comments