Create a new file-too-large error. # Arguments `path` - The file that is too large `size` - The actual size in bytes `max_size` - The maximum allowed size in bytes
(path: impl Into<PathBuf>, size: u64, max_size: u64)
| 369 | /// * `size` - The actual size in bytes |
| 370 | /// * `max_size` - The maximum allowed size in bytes |
| 371 | pub fn file_too_large(path: impl Into<PathBuf>, size: u64, max_size: u64) -> Self { |
| 372 | Self::FileTooLarge { |
| 373 | path: path.into(), |
| 374 | size, |
| 375 | max_size, |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | /// Create a new inode-not-found error. |
| 380 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected