[][src]Struct deno_cli::deno_dir::DenoDir

pub struct DenoDir {
    pub root: PathBuf,
    pub deps_cache: DiskCache,
    pub gen_cache: DiskCache,
}

DenoDir serves as coordinator for multiple DiskCaches containing them in single directory that can be controlled with $DENO_DIR env variable.

Fields

root: PathBufdeps_cache: DiskCache

Used by SourceFileFetcher to cache remote modules.

gen_cache: DiskCache

Used by TsCompiler to cache compiler output.

Methods

impl DenoDir[src]

pub fn new(custom_root: Option<PathBuf>) -> Result<Self>[src]

Trait Implementations

impl Clone for DenoDir[src]

Auto Trait Implementations

impl Send for DenoDir

impl Sync for DenoDir

impl Unpin for DenoDir

impl UnwindSafe for DenoDir

impl RefUnwindSafe for DenoDir

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T, F> ComparatorFunction<Option<T>> for F where
    F: ComparatorFunction<T>, 
[src]