1
0
Fork 0
mirror of synced 2024-04-29 01:52:39 +12:00

First commit

This commit is contained in:
Rafał Mikrut 2020-08-26 11:17:16 +02:00
commit 68cbbe8c45
5 changed files with 46 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/target
.idea/

5
Cargo.lock generated Normal file
View 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
View 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
View 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
View file

@ -0,0 +1,5 @@
mod duplicate_finder;
fn main() {
println!("Hello, world!");
}