[][src]Module heim_runtime::fs

Async FS operations.

Structs

File

A reference to an open file in filesystem.

Functions

path_exists

Returns future which checks if path path points to some file.

read_dir

Returns stream of files and directories contained in the path directory.

read_first_line

Returns future which tries to read the first line from file.

read_into

Read path file and try to parse it into a R type via std::str::FromStr.

read_lines

Returns stream of lines yielded from file with path path.

read_lines_into

Returns stream which reads lines from file and tries to parse them with help of FromStr trait.

read_link

Returns future which tries read the symlink.

read_to_string

Read path file asynchronously and convert it contents into a string.