Lucene.Net.Index.TestSnapshotDeletionPolicy.CheckSnapshotExists C# (CSharp) 메소드

CheckSnapshotExists() 보호된 메소드

protected CheckSnapshotExists ( Directory dir, IndexCommit c ) : void
dir Directory
c IndexCommit
리턴 void
        protected internal virtual void CheckSnapshotExists(Directory dir, IndexCommit c)
        {
            string segFileName = c.SegmentsFileName;
            Assert.IsTrue(SlowFileExists(dir, segFileName), "segments file not found in directory: " + segFileName);
        }