(atomic_dir: &'a Path, working_copy: WorkingCopyId)
| 49 | |
| 50 | impl<'a> ChangeSourceTokenStore<'a> { |
| 51 | pub fn new(atomic_dir: &'a Path, working_copy: WorkingCopyId) -> Self { |
| 52 | Self { |
| 53 | atomic_dir, |
| 54 | working_copy, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | pub fn load(&self, source: ChangeSourceKind) -> Result<TokenLoadResult, TokenStoreError> { |
| 59 | if !matches!( |
nothing calls this directly
no outgoing calls
no test coverage detected