structstd.fs.path.ComponentIterator.Component[src]

Fields

name: []const T

The current component's path name, e.g. 'b'. This will never contain path separators.

path: []const T

The full path up to and including the current component, e.g. '/a/b' This will never contain trailing path separators.

Source Code

Source code
pub const Component = struct {
    /// The current component's path name, e.g. 'b'.
    /// This will never contain path separators.
    name: []const T,
    /// The full path up to and including the current component, e.g. '/a/b'
    /// This will never contain trailing path separators.
    path: []const T,
}