Skip to content

Commit eee0145

Browse files
committed
Standardize on "file system"
1 parent 90dba1d commit eee0145

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/System/Errno.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable {
961961

962962
/// Stale NFS file handle.
963963
///
964-
/// You attempted access an open file on an NFS filesystem,
964+
/// You attempted access an open file on an NFS file system,
965965
/// which is now unavailable as referenced by the given file descriptor.
966966
/// This may indicate that the file was deleted on the NFS server
967967
/// or that some other catastrophic event occurred.

Sources/System/FileSystem/Stat.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public struct Stat: RawRepresentable, Sendable {
374374
/// Total size, in bytes
375375
///
376376
/// The semantics of this property are tied to the underlying C `st_size` field,
377-
/// which can have file system-dependent behavior. For example, this property
377+
/// which can have file-system–dependent behavior. For example, this property
378378
/// can return different values for a file's data fork and resource fork, and some
379379
/// file systems report logical size rather than actual disk usage for compressed
380380
/// or cloned files.
@@ -386,7 +386,7 @@ public struct Stat: RawRepresentable, Sendable {
386386
set { rawValue.st_size = numericCast(newValue) }
387387
}
388388

389-
/// Block size for filesystem I/O, in bytes
389+
/// Block size for file system I/O, in bytes
390390
///
391391
/// The corresponding C property is `st_blksize`.
392392
@_alwaysEmitIntoClient
@@ -398,7 +398,7 @@ public struct Stat: RawRepresentable, Sendable {
398398
/// Number of 512-byte blocks allocated
399399
///
400400
/// The semantics of this property are tied to the underlying C `st_blocks` field,
401-
/// which can have file system-dependent behavior.
401+
/// which can have file-system–dependent behavior.
402402
///
403403
/// The corresponding C property is `st_blocks`.
404404
@_alwaysEmitIntoClient
@@ -410,7 +410,7 @@ public struct Stat: RawRepresentable, Sendable {
410410
/// Total size allocated, in bytes
411411
///
412412
/// The semantics of this property are tied to the underlying C `st_blocks` field,
413-
/// which can have file system-dependent behavior.
413+
/// which can have file-system–dependent behavior.
414414
///
415415
/// - Note: Calculated as `512 * blocksAllocated`.
416416
@_alwaysEmitIntoClient

0 commit comments

Comments
 (0)