Get the trunk ID for a file path.
(txn: &mut T, path: &str)
| 451 | |
| 452 | /// Get the trunk ID for a file path. |
| 453 | pub fn get_trunk_id<T: MutTxnT>(txn: &mut T, path: &str) -> PristineResult<Option<TrunkId>> { |
| 454 | txn.get_trunk_by_path(path) |
| 455 | } |
| 456 | |
| 457 | // CRDT-driven file output |
| 458 |
nothing calls this directly
no test coverage detected