add copy files setting (#445)
* add copy files setting * DB prepare * Move copy_project_files into the container trait so we remember to implement on cloud * Autocomplete on the FE for files * Clippy * Lint and fmt --------- Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
This commit is contained in:
@@ -123,6 +123,13 @@ pub trait ContainerService {
|
||||
|
||||
async fn try_commit_changes(&self, ctx: &ExecutionContext) -> Result<(), ContainerError>;
|
||||
|
||||
async fn copy_project_files(
|
||||
&self,
|
||||
source_dir: &PathBuf,
|
||||
target_dir: &PathBuf,
|
||||
copy_files: &str,
|
||||
) -> Result<(), ContainerError>;
|
||||
|
||||
async fn get_diff(
|
||||
&self,
|
||||
task_attempt: &TaskAttempt,
|
||||
|
||||
Reference in New Issue
Block a user