コード例 #1
0
ファイル: ObjectIdRef.cs プロジェクト: dev218/GitSharp
        /// <summary>
        /// Create a new ref pairing.
        /// </summary>
        /// <param name="st">method used to store this ref.</param>
        /// <param name="name">name of this ref.</param>
        /// <param name="id">
        /// current value of the ref. 
        /// </param>
        /// <param name="p">the first non-tag object that tag {@code id} points to.</param>
        public PeeledTag(Storage st, string name, ObjectId id, ObjectId p)
            : base(st, name, id)
        {

            _peeledObjectId = p;
        }
コード例 #2
0
ファイル: ObjectIdRef.cs プロジェクト: dev218/GitSharp
 /// <summary>
 /// Create a new ref pairing.
 /// </summary>
 /// <param name="st">method used to store this ref.</param>
 /// <param name="name">name of this ref.</param>
 /// <param name="id">
 /// current value of the ref. May be null to indicate a ref that
 /// does not exist yet.
 /// </param>
 protected ObjectIdRef(Storage st, string name, ObjectId id)
 {
     _name = name;
     _storage = st;
     _objectId = id;
 }
コード例 #3
0
ファイル: ObjectIdRef.cs プロジェクト: dev218/GitSharp
        /// <summary>
        /// Create a new ref pairing.
        /// </summary>
        /// <param name="st">method used to store this ref.</param>
        /// <param name="name">name of this ref.</param>
        /// <param name="id">
        /// current value of the ref. May be null to indicate a ref that
        /// does not exist yet.
        /// </param>
        public Unpeeled(Storage st, string name, ObjectId id)
            : base(st, name, id)
        {

        }
コード例 #4
0
ファイル: ObjectIdRef.cs プロジェクト: dev218/GitSharp
        /// <summary>
        /// Create a new ref pairing.
        /// </summary>
        /// <param name="st">method used to store this ref.</param>
        /// <param name="name">name of this ref.</param>
        /// <param name="id">
        /// current value of the ref. May be null to indicate a ref that
        /// does not exist yet.
        /// </param>
        public PeeledNonTag(Storage st, string name, ObjectId id)
            : base(st, name, id)
        {

        }