Struct jujutsu_lib::working_copy::TreeState [−][src]
pub struct TreeState { /* fields omitted */ }
Implementations
impl TreeState
[src]
impl TreeState
[src]pub fn current_tree_id(&self) -> &TreeId
[src]
pub fn file_states(&self) -> &BTreeMap<FileRepoPath, FileState>
[src]
pub fn init(
store: Arc<StoreWrapper>,
working_copy_path: PathBuf,
state_path: PathBuf
) -> TreeState
[src]
store: Arc<StoreWrapper>,
working_copy_path: PathBuf,
state_path: PathBuf
) -> TreeState
pub fn load(
store: Arc<StoreWrapper>,
working_copy_path: PathBuf,
state_path: PathBuf
) -> TreeState
[src]
store: Arc<StoreWrapper>,
working_copy_path: PathBuf,
state_path: PathBuf
) -> TreeState
pub fn write_tree(&mut self) -> &TreeId
[src]
pub fn check_out(
&mut self,
tree_id: TreeId
) -> Result<CheckoutStats, CheckoutError>
[src]
&mut self,
tree_id: TreeId
) -> Result<CheckoutStats, CheckoutError>
Auto Trait Implementations
impl !RefUnwindSafe for TreeState
impl Send for TreeState
impl Sync for TreeState
impl Unpin for TreeState
impl !UnwindSafe for TreeState
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,