From 5d0c5b2b1e25d09dbedb6ca3ef99cfa1477276c3 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 2 Mar 2026 16:34:50 +0300 Subject: [PATCH] feat(files): Data strict for work with data and files --- src/operations.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/operations.rs b/src/operations.rs index 0b5e03d..1558ac7 100644 --- a/src/operations.rs +++ b/src/operations.rs @@ -11,3 +11,16 @@ pub struct Remote { pub mod remotes; +/// === Модуль для работы с файлами и директориями === + +#[derive(Debug, Clone)] +pub struct FileInfo { + pub name: String, + pub path: String, + pub size: u64, + pub is_dir: bool, + pub modified: Option, +} + +pub mod files; +