First commit
This commit is contained in:
commit
68cbbe8c45
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/target
|
||||||
|
.idea/
|
5
Cargo.lock
generated
Normal file
5
Cargo.lock
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
[[package]]
|
||||||
|
name = "czkawka"
|
||||||
|
version = "0.1.0"
|
9
Cargo.toml
Normal file
9
Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[package]
|
||||||
|
name = "czkawka"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Rafał Mikrut <mikrutrafal54@gmail.com>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
25
src/duplicate_finder.rs
Normal file
25
src/duplicate_finder.rs
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
// Todo, należy upewnić się, że ma wystarczające uprawnienia do odczytu i usuwania
|
||||||
|
|
||||||
|
|
||||||
|
struct DuplicateFinder {
|
||||||
|
number_of_all_files_with_duplicates : u64,
|
||||||
|
number_of_duplicated_files : u64,
|
||||||
|
//map_of_values : u32,
|
||||||
|
excluded_directories : Vec<String>,
|
||||||
|
included_directories : Vec<String>
|
||||||
|
}
|
||||||
|
|
||||||
|
impl DuplicateFinder{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
struct FileEntry {
|
||||||
|
file_path : String,
|
||||||
|
file_size : u64
|
||||||
|
}
|
||||||
|
|
||||||
|
fn find(){
|
||||||
|
|
||||||
|
}
|
5
src/main.rs
Normal file
5
src/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
mod duplicate_finder;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in a new issue