MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / del_file_index

Method del_file_index

atomic-core/src/pristine/txn/write/mod.rs:2013–2017  ·  view source on GitHub ↗
(&mut self, path: &str)

Source from the content-addressed store, hash-verified

2011 }
2012
2013 fn del_file_index(&mut self, path: &str) -> Result<(), PristineError> {
2014 let mut table = self.txn.open_table(FILE_INDEX)?;
2015 table.remove(path)?;
2016 Ok(())
2017 }
2018
2019 fn put_inode(&mut self, inode: Inode, pos: Position<NodeId>) -> PristineResult<()> {
2020 let pos_bytes = encode_position(pos.change.get(), pos.pos.get());

Callers 2

import_prevalidatedMethod · 0.45

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected