This PR contains the work done to update the library and the attached example project to use the Swift 6.4 computer as a minimum supported version and also, to use the latest features introduced in it. Reviewed-on: #1 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
11 lines
320 B
Swift
11 lines
320 B
Swift
extension File {
|
|
/// File or directory information. Mirrors `FileStat`.
|
|
public struct Stat: Sendable {
|
|
public let isDirectory: Bool
|
|
/// Size in bytes.
|
|
public let size: UInt32
|
|
/// Last modification time; `weekday` is 0 (unset).
|
|
public let modified: System.DateTime
|
|
}
|
|
}
|