public IEnumerable<string> Snapshot(IEnumerable<string> hashes) { using (var scope = new Scope(_fileSystem, DatabaseFile)) { var snapshot = hashes.ToList(); scope.AddSnapshot(snapshot); return scope.Resurrected(); } }
public IEnumerable<string> Snapshot(IEnumerable<string> hashes) { using (var scope = new Scope(_fileSystem, DatabaseFile)) { var snapshot = hashes.ToList(); scope.AddSnapshot(snapshot); return scope.Resurrected(); } }