Standardize on "file system"

This commit is contained in:
Jonathan Flat committed 2025-10-28 22:52:34 -06:00
1 parent 90dba1dc68
commit eee0145671
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -961,7 +961,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
/// Stale NFS file handle.
///
/// You attempted access an open file on an NFS filesystem,
/// You attempted access an open file on an NFS file system,
/// which is now unavailable as referenced by the given file descriptor.
/// This may indicate that the file was deleted on the NFS server
/// or that some other catastrophic event occurred.
+4 -4
View File
@@ -374,7 +374,7 @@ public struct Stat: RawRepresentable, Sendable {
/// Total size, in bytes
///
/// The semantics of this property are tied to the underlying C `st_size` field,
/// which can have file system-dependent behavior. For example, this property
/// which can have file-system–dependent behavior. For example, this property
/// can return different values for a file's data fork and resource fork, and some
/// file systems report logical size rather than actual disk usage for compressed
/// or cloned files.
@@ -386,7 +386,7 @@ public struct Stat: RawRepresentable, Sendable {
set { rawValue.st_size = numericCast(newValue) }
}
/// Block size for filesystem I/O, in bytes
/// Block size for file system I/O, in bytes
///
/// The corresponding C property is `st_blksize`.
@_alwaysEmitIntoClient
@@ -398,7 +398,7 @@ public struct Stat: RawRepresentable, Sendable {
/// Number of 512-byte blocks allocated
///
/// The semantics of this property are tied to the underlying C `st_blocks` field,
/// which can have file system-dependent behavior.
/// which can have file-system–dependent behavior.
///
/// The corresponding C property is `st_blocks`.
@_alwaysEmitIntoClient
@@ -410,7 +410,7 @@ public struct Stat: RawRepresentable, Sendable {
/// Total size allocated, in bytes
///
/// The semantics of this property are tied to the underlying C `st_blocks` field,
/// which can have file system-dependent behavior.
/// which can have file-system–dependent behavior.
///
/// - Note: Calculated as `512 * blocksAllocated`.
@_alwaysEmitIntoClient