Skip to content

Commit 49264e3

Browse files
committed
Clarify the change of Path.components
1 parent d8888c6 commit 49264e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/TSCBasic/Path.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ public protocol Path: Hashable, Codable, CustomStringConvertible {
6969

7070
/// Returns an array of strings that make up the path components of the
7171
/// path. This is the same sequence of strings as the basenames of each
72-
/// successive path component.
73-
///
74-
/// An empty path has a single path
72+
/// successive path component. An empty path has a single path
7573
/// component: the `.` string.
74+
///
75+
/// NOTE: Path components no longer include the root. Use `root` instead.
7676
var components: [String] { get }
7777
}
7878

0 commit comments

Comments
 (0)