Skip to main content

stat

Function stat 

Source
pub fn stat(path: impl AsRef<Path>) -> Result<StatFuture>
Expand description

Get file metadata (stat) for a path.

Returns a StatFuture that resolves to Metadata on success.

ยงPanics

Panics if called outside the ringline async executor.