Ejemplo n.º 1
0
        internal Commit(ObjectStorage storage, ObjectReader reader, string id)
            : base(id)
        {
            _storage = storage;
            _reader = reader;

            this._parents = new List<Commit>();
        }
Ejemplo n.º 2
0
 internal Tag(ObjectStorage storage, ObjectReader reader, string id)
     : base(id)
 {
     _storage = storage;
     _loader = () => LoadFromObjectReader(reader);
 }
Ejemplo n.º 3
0
 private void LoadFromObjectReader(ObjectReader reader)
 {
     reader.Load(stream => LoadFromReader(new StreamReader(stream), reader.Size));
 }