Struct dinghy_lib::project::Project
[−]
[src]
pub struct Project { pub conf: Arc<Configuration>, }
Fields
conf: Arc<Configuration>
Methods
impl Project
[src]
pub fn new(conf: &Arc<Configuration>) -> Project
[src]
pub fn project_dir(&self) -> Result<PathBuf>
[src]
pub fn overlay_work_dir(&self, platform: &Platform) -> Result<PathBuf>
[src]
pub fn target_dir(&self, rustc_triple: Option<&str>) -> Result<PathBuf>
[src]
pub fn for_runnable(&self, runnable: &Runnable) -> Result<Self>
[src]
pub fn link_test_data<T: AsRef<Path>>(
&self,
runnable: &Runnable,
app_path: T
) -> Result<()>
[src]
&self,
runnable: &Runnable,
app_path: T
) -> Result<()>
pub fn copy_test_data<T: AsRef<Path>>(&self, app_path: T) -> Result<()>
[src]
pub fn rec_copy<P1: AsRef<Path>, P2: AsRef<Path>>(
&self,
src: P1,
dst: P2,
copy_ignored_test_data: bool
) -> Result<()>
[src]
&self,
src: P1,
dst: P2,
copy_ignored_test_data: bool
) -> Result<()>
pub fn rec_copy_excl<P1: AsRef<Path>, P2: AsRef<Path>, P3: AsRef<Path> + Debug>(
&self,
src: P1,
dst: P2,
copy_ignored_test_data: bool,
more_exclude: &[P3]
) -> Result<()>
[src]
&self,
src: P1,
dst: P2,
copy_ignored_test_data: bool,
more_exclude: &[P3]
) -> Result<()>