Module gchemol_gut::fs

source ·

Re-exports

pub use tempfile;

Structs

The BufReader<R> struct adds buffering to any reader.
Wraps a writer and buffers its output.
An object providing access to an open file on the filesystem.
A slice of a path (akin to str).
An owned, mutable path (akin to String).

Traits

A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
The Read trait allows for reading bytes from a source.
The Seek trait provides a cursor which can be moved within a stream of bytes.
A trait for objects which are byte-oriented sinks.

Functions

Read file content into string
Create an executable script. The leading directories will automatically created.
Write string to file