Пример #1
0
        public IEnumerable<string> Snapshot(IEnumerable<string> hashes)
        {
            using (var scope = new Scope(_fileSystem, DatabaseFile))
            {
                var snapshot = hashes.ToList();

                scope.AddSnapshot(snapshot);

                return scope.Resurrected();
            }
        }