Struct deno_graph::source::CacheInfo
source · 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§
source§impl<'de> Deserialize<'de> for CacheInfo
impl<'de> Deserialize<'de> for CacheInfo
source§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