feat: clone from https://github.com/miquels/webdav-server-rs
This commit is contained in:
15
fs_quota/src/generic_os.rs
Normal file
15
fs_quota/src/generic_os.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// No-op implementations.
|
||||
//
|
||||
use std::io;
|
||||
use std::path::Path;
|
||||
|
||||
use crate::{FqError, FsQuota, Mtab};
|
||||
|
||||
pub(crate) fn get_quota(_device: impl AsRef<Path>, _uid: u32) -> Result<FsQuota, FqError> {
|
||||
Err(FqError::NoQuota)
|
||||
}
|
||||
|
||||
pub(crate) fn read_mtab() -> io::Result<Vec<Mtab>> {
|
||||
Ok(Vec::new())
|
||||
}
|
||||
Reference in New Issue
Block a user