feat(files): Data strict for work with data and files
This commit is contained in:
1 parent
bb74d01b75
commit
5d0c5b2b1e
1 file changed
+13
@@ -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<String>,
|
||||
}
|
||||
|
||||
pub mod files;
|
||||
|
||||
Reference in new issue
Block a user