file-storage 0.9.0

This library aids in accessing file-like storage.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{FilePath, FolderPath, StoragePath};
use std::ops::Deref;

impl Deref for FilePath {
    type Target = StoragePath;

    fn deref(&self) -> &StoragePath {
        self.path()
    }
}

impl Deref for FolderPath {
    type Target = StoragePath;

    fn deref(&self) -> &StoragePath {
        self.path()
    }
}