Struct deno_graph::source::CacheInfo [−][src]
pub struct CacheInfo {
pub local: Option<PathBuf>,
pub emit: Option<PathBuf>,
pub map: Option<PathBuf>,
}
Expand description
Information that comes from an external source which can be optionally included in the module graph.
Fields
local: Option<PathBuf>
The path to the local representation of the file. If a local file, the path to the original file, if a remote file, the path to the file in the cache.
emit: Option<PathBuf>
If the file has been transpiled, the path to the cached version of the transpiled JavaScript.
map: Option<PathBuf>
If the file has been transpiled and there is a source map separate from the transpiled JavaScript, the path to this file.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CacheInfo
impl UnwindSafe for CacheInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more