pub struct ProjectInfo {
pub evg_project_location: PathBuf,
pub evg_project: String,
pub gen_sub_tasks_config_file: Option<PathBuf>,
}
Expand description
Information about the Evergreen project being run against.
Fields§
§evg_project_location: PathBuf
Path to the evergreen project configuration yaml.
evg_project: String
Evergreen project being run.
gen_sub_tasks_config_file: Option<PathBuf>
Path to the sub-tasks configuration file.
Implementations§
Source§impl ProjectInfo
impl ProjectInfo
Sourcepub fn new<P: AsRef<Path>>(
evg_project_location: P,
evg_project: &str,
gen_sub_tasks_config_file: Option<P>,
) -> Self
pub fn new<P: AsRef<Path>>( evg_project_location: P, evg_project: &str, gen_sub_tasks_config_file: Option<P>, ) -> Self
Sourcepub fn get_project_config(&self) -> Result<EvgProjectConfig>
pub fn get_project_config(&self) -> Result<EvgProjectConfig>
Get the project configuration for this project.
Sourcepub fn get_generate_sub_tasks_config(
&self,
) -> Result<Option<GenerateSubTasksConfig>>
pub fn get_generate_sub_tasks_config( &self, ) -> Result<Option<GenerateSubTasksConfig>>
Get the generate sub-task configuration for this project.
Auto Trait Implementations§
impl Freeze for ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnwindSafe for ProjectInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more