1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! # fs pro
//!
//! > A library to work with files easily
//!
//! 
//! 
//!
//! the is a beta rust version of [fs-pro](https://github.com/AliBasicCoder/fs-pro)
//!
//! see the full docs [here](https://docs.rs/fs_pro)
//!
//! ## Features
//!
//! - you don't have to work with std api's
//! - easy to use
//!
//! ## Usage
//!
//! ```rust
//! use fs_pro::{Dir, File, error::Result};
//!
//! fn main() -> Result<()> {
//! let file = File::new("my_file.txt");
//! // create the file
//! file.create();
//! // write to file
//! file.write("hello there");
//! // read file
//! file.read_to_string(); // => "hello there"
//! // and much more...
//! let dir = Dir::new("my_dir");
//! // create the dir
//! dir.create();
//! // create a file in it
//! dir.create_file("my_file.txt").unwrap().write("hello world");
//! // create a dir in it
//! dir.create_dir("my_dir");
//! // and much more...
//! }
//! ```
//!
//! ## Licence
//!
//! Copyright (c) 2020 AliBasicCoder
/// a module that has every thing about errors
/// this module contains every thing about Shape
pub use Dir;
pub use DirEntry;
pub use File;
pub use Shape;
pub use ;
pub use Shape;