mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
FilePath.Component.Kind is meant to be frozen
This commit is contained in:
1 parent
578586ab80
commit
2bc160bfe3
1 file changed
+1
@@ -78,6 +78,7 @@ extension FilePath.Component {
|
||||
|
||||
/// Whether a component is a regular file or directory name, or a special
|
||||
/// directory `.` or `..`
|
||||
@frozen
|
||||
public enum Kind {
|
||||
/// The special directory `.`, representing the current directory.
|
||||
case currentDirectory
|
||||
|
||||
Reference in new issue
Block a user