Enum lal::manifest::ManifestLocation
[−]
[src]
pub enum ManifestLocation { RepoRoot, LalSubfolder, }
An enum to clarify intent
Variants
RepoRoot
Plain style (old default)
LalSubfolder
In the .lal subfolder
Methods
impl ManifestLocation
[src]
fn as_path(&self, pwd: &PathBuf) -> PathBuf
[src]
Generate path for Manifest assuming pwd is the root
fn identify(pwd: &PathBuf) -> LalResult<ManifestLocation>
[src]
Find the manifest file
Looks first in ./.lal/manifest.json
and falls back to ./manifest.json
Trait Implementations
impl Default for ManifestLocation
[src]
fn default() -> ManifestLocation
[src]
Returns the "default value" for a type. Read more