pub(crate) fn new<P: AsRef<Path>>(path: P, m: Accessor<'a, PathBuf, InMemoryFile>) -> NamedInMemoryFile<'a> {
        NamedInMemoryFile {
            path: path.as_ref().to_path_buf(),
            file: Arc::new(m),
        }
    }
/// Reads the file at the path into a NamedInMemoryFile.
Reads the file at the path into a NamedInMemoryFile.
Reads the file at the path into a NamedInMemoryFile .
pub(crate) fn new<P: AsRef<Path>>(path: P, m: Accessor<'a, PathBuf, InMemoryFile>) -> NamedInMemoryFile<'a> {
        NamedInMemoryFile {
            path: path.as_ref().to_path_buf(),
            file: Arc::new(m),
        }
    }
pub ( crate ) fn new < P : AsRef < Path > > ( path : P , m : Accessor < ' a , PathBuf , InMemoryFile > ) -> NamedInMemoryFile < ' a > { NamedInMemoryFile { path : path . as_ref ( ) . to_path_buf ( ) , file : Arc :: new ( m ) , } }
Reads the file at the path into a NamedInMemoryFile.
Reads the file at the path into a NamedInMemoryFile .
path
P
m
Accessor<'a, PathBuf, InMemoryFile>
path
P
m
Accessor<'a, PathBuf, InMemoryFile>