internal ObjectDirectoryPackParser(FileObjectDatabase odb, InputStream src) : base (odb, src) { this.db = odb; this.crc = new CRC32(); this.tailDigest = Constants.NewMessageDigest(); indexVersion = db.GetConfig().Get(CoreConfig.KEY).GetPackIndexVersion(); }
internal LargeObject(int type, long size, FilePath path, AnyObjectId id, FileObjectDatabase db) { this.type = type; this.size = size; this.path = path; this.id = id.Copy(); this.source = db; }
internal LargePackedWholeObject(int type, long size, long objectOffset, int headerLength , PackFile pack, FileObjectDatabase db) { this.type = type; this.size = size; this.objectOffset = objectOffset; this.headerLength = headerLength; this.pack = pack; this.db = db; }
internal LargePackedWholeObject(int type, long size, long objectOffset, int headerLength , PackFile pack, FileObjectDatabase db) { this.type = type; this.size = size; this.objectOffset = objectOffset; this.headerLength = headerLength; this.pack = pack; this.db = db; }
internal LargePackedDeltaObject(long objectOffset, long baseOffset, int headerLength , PackFile pack, FileObjectDatabase db) { this.type = Constants.OBJ_BAD; this.size = SIZE_UNKNOWN; this.objectOffset = objectOffset; this.baseOffset = baseOffset; this.headerLength = headerLength; this.pack = pack; this.db = db; }
internal LargePackedDeltaObject(long objectOffset, long baseOffset, int headerLength , PackFile pack, FileObjectDatabase db) { this.type = Constants.OBJ_BAD; this.size = SIZE_UNKNOWN; this.objectOffset = objectOffset; this.baseOffset = baseOffset; this.headerLength = headerLength; this.pack = pack; this.db = db; }
internal override FileObjectDatabase.AlternateHandle[] MyAlternates() { if (alts == null) { FileObjectDatabase.AlternateHandle[] src = wrapped.MyAlternates(); alts = new FileObjectDatabase.AlternateHandle[src.Length]; for (int i = 0; i < alts.Length; i++) { FileObjectDatabase s = src[i].db; alts[i] = new FileObjectDatabase.AlternateHandle(s.NewCachedFileObjectDatabase()); } } return(alts); }
internal LargeObject(int type, long size, FilePath path, AnyObjectId id, FileObjectDatabase db) { this.type = type; this.size = size; this.path = path; this.id = id.Copy(); this.source = db; }
internal WindowCursor(FileObjectDatabase db) { this.db = db; }
internal WindowCursor(FileObjectDatabase db) { this.db = db; }
internal ObjectDirectoryInserter(FileObjectDatabase dest, Config cfg) { db = dest; config = cfg.Get(WriteConfig.KEY); }
internal ObjectDirectoryPackParser(FileObjectDatabase odb, InputStream src) : base (odb, src) { this.db = odb; this.crc = new CRC32(); this.tailDigest = Constants.NewMessageDigest(); indexVersion = db.GetConfig().Get(CoreConfig.KEY).GetPackIndexVersion(); }
internal AlternateHandle(FileObjectDatabase db) { this.db = db; }
internal AlternateHandle(FileObjectDatabase db) { this.db = db; }
internal ObjectDirectoryInserter(FileObjectDatabase dest, Config cfg) { db = dest; config = cfg.Get(WriteConfig.KEY); }