Skip to content

Commit 2bc160b

Browse files
committed
FilePath.Component.Kind is meant to be frozen
1 parent 578586a commit 2bc160b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/System/FilePath/FilePathComponents.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ extension FilePath.Component {
7878

7979
/// Whether a component is a regular file or directory name, or a special
8080
/// directory `.` or `..`
81+
@frozen
8182
public enum Kind {
8283
/// The special directory `.`, representing the current directory.
8384
case currentDirectory

0 commit comments

Comments
 (0)