From 2bc160bfe34d843ae5ff47168080add24dfd7eac Mon Sep 17 00:00:00 2001 From: Michael Ilseman Date: Tue, 11 May 2021 10:03:09 -0600 Subject: [PATCH] FilePath.Component.Kind is meant to be frozen --- Sources/System/FilePath/FilePathComponents.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/System/FilePath/FilePathComponents.swift b/Sources/System/FilePath/FilePathComponents.swift index d7ca9d4..a47a05f 100644 --- a/Sources/System/FilePath/FilePathComponents.swift +++ b/Sources/System/FilePath/FilePathComponents.swift @@ -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