mirror of
https://github.com/YGGverse/nexy.git
synced 2026-03-31 09:15:28 +00:00
add some comments
This commit is contained in:
parent
e148496416
commit
55dfc38491
1 changed files with 4 additions and 0 deletions
|
|
@ -5,9 +5,13 @@ use anyhow::{Result, bail};
|
|||
use list::{Dir, File, List, Time};
|
||||
use std::{fs, io::Read, os::unix::fs::MetadataExt, path::PathBuf, str::FromStr};
|
||||
|
||||
/// In-session disk storage API
|
||||
pub struct Storage {
|
||||
/// Listing options
|
||||
list: List,
|
||||
/// Root path to storage, used also for the access validation
|
||||
public_dir: PathBuf,
|
||||
/// Streaming buffer options
|
||||
read_chunk: usize,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue