Compare commits
4 commits
4f45383ff7
...
db28ab982a
Author | SHA1 | Date | |
---|---|---|---|
db28ab982a | |||
623616e73c | |||
09e1d91a9e | |||
d50164931d |
4 changed files with 6 additions and 11 deletions
3
justfile
3
justfile
|
@ -1,7 +1,8 @@
|
|||
build:
|
||||
cargo fmt --check
|
||||
cargo hack --feature-powerset clippy
|
||||
cargo hack --feature-powerset build
|
||||
cargo hack --feature-powerset test
|
||||
cargo hack --feature-powerset clippy
|
||||
|
||||
install-hooks:
|
||||
@echo "Installing git hooks"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
//
|
||||
mod system;
|
||||
mod path;
|
||||
mod file;
|
||||
mod dir;
|
||||
mod file;
|
||||
mod path;
|
||||
mod reader;
|
||||
mod system;
|
||||
|
||||
pub use system::FileSystem;
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
//
|
||||
use std::{
|
||||
fmt::Display,
|
||||
path::Path, str::Lines,
|
||||
};
|
||||
use std::{fmt::Display, path::Path, str::Lines};
|
||||
|
||||
use crate::fs::Result;
|
||||
|
||||
|
||||
pub struct ReaderReal {
|
||||
contents: String,
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@ use crate::fs::{Error, Result};
|
|||
|
||||
use super::{dir::DirReal, file::FileReal, path::PathReal};
|
||||
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct FileSystem {
|
||||
base: PathBuf,
|
||||
|
@ -59,4 +58,3 @@ impl FileSystem {
|
|||
Ok(abs_path)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue