Struct jrsonnet_evaluator::FileImportResolver [−][src]
Expand description
File resolver, can load file from both FS and library paths
Fields
library_paths: Vec<PathBuf>
Library directories to search for file.
Referred to as jpath
in original jsonnet implementation.
Trait Implementations
Returns the “default value” for a type. Read more
Resolves real file path, e.g. (/home/user/manifests, b.libjsonnet)
can correspond
both to /home/user/manifests/b.libjsonnet
and to /home/user/${vendor}/b.libjsonnet
where ${vendor}
is a library path. Read more
Reads file from filesystem, should be used only with path received from resolve_file
Auto Trait Implementations
impl RefUnwindSafe for FileImportResolver
impl Send for FileImportResolver
impl Sync for FileImportResolver
impl Unpin for FileImportResolver
impl UnwindSafe for FileImportResolver