feat: clone from https://github.com/miquels/webdav-server-rs
This commit is contained in:
11
fs_quota/examples/fs_quota.rs
Normal file
11
fs_quota/examples/fs_quota.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
extern crate fs_quota;
|
||||
use fs_quota::*;
|
||||
|
||||
fn main() {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
if args.len() < 2 {
|
||||
println!("usage: fs_quota <path>");
|
||||
return;
|
||||
}
|
||||
println!("{:#?}", FsQuota::check(&args[1], None));
|
||||
}
|
||||
Reference in New Issue
Block a user