Function kind [src]

Returns the Kind of file. On Windows, can only return: .file, .directory, .sym_link or .unknown

Prototype

pub fn kind(self: Self) Kind

Parameters

self: Self

Source

pub fn kind(self: Self) Kind { return self.inner.kind(); }