MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / path

Method path

crates/cargo-lambda-new/src/template.rs:136–142  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

134
135impl TemplateRoot {
136 fn path(&self) -> &Path {
137 match self {
138 Self::TempDir((_tmp, Some(base))) => base,
139 Self::TempDir((tmp, None)) => tmp.path(),
140 Self::LocalDir(path) => path,
141 }
142 }
143
144 pub(crate) fn final_path(&self) -> PathBuf {
145 let path = self.path();

Callers 15

use_zip_in_placeFunction · 0.80
include_files_in_zipFunction · 0.80
test_zip_funcionFunction · 0.80
test_zip_extensionFunction · 0.80
test_consistent_hashFunction · 0.80
test_lambda_environmentFunction · 0.80
copy_dirFunction · 0.80
create_projectFunction · 0.80

Calls

no outgoing calls