public OpenTree ( ObjectId id ) : ObjectLoader | ||
id | ObjectId | SHA'1 of a tree |
리턴 | ObjectLoader |
private void EnsureLoaded() { if (IsLoaded) { return; } ObjectLoader or = _db.OpenTree(Id); if (or == null) { throw new MissingObjectException(Id, ObjectType.Tree); } ReadTree(or.Bytes); }