Struct jujutsu_lib::working_copy::WorkingCopy
source · pub struct WorkingCopy { /* private fields */ }Implementations§
source§impl WorkingCopy
impl WorkingCopy
sourcepub fn init(
store: Arc<Store>,
working_copy_path: PathBuf,
state_path: PathBuf,
operation_id: OperationId,
workspace_id: WorkspaceId
) -> WorkingCopy
pub fn init(
store: Arc<Store>,
working_copy_path: PathBuf,
state_path: PathBuf,
operation_id: OperationId,
workspace_id: WorkspaceId
) -> WorkingCopy
Initializes a new working copy at working_copy_path. The working
copy’s state will be stored in the state_path directory. The working
copy will have the empty tree checked out.