Crate filey

source ·
Expand description

§filey

‘filey’ is a collection of utilities to make file operations more convenient.

This library is made up of three main components:

§A Basic example

use filey::Filey;
use filey::{Filey, FileTypes};

let mut file = Filey::new(".great_app.conf").create(FileTypes::File)?;
let file_size = file.size()?;
println!("{}", file_size); // 0

let dotfile = file.move_to("dotfiles/")?;

dotfile.symlink(".great_app.conf")?;

Modules§

Macros§

Structs§

Enums§

Type Aliases§