GitSharp.Core.ObjectDatabase.hasObjectImpl2 C# (CSharp) 메소드

hasObjectImpl2() 개인적인 메소드

private hasObjectImpl2 ( string objectId ) : bool
objectId string
리턴 bool
        private bool hasObjectImpl2(string objectId)
        {
            if (hasObject2(objectId))
            {
                return true;
            }
            foreach (ObjectDatabase alt in getAlternates())
            {
                if (alt.hasObjectImpl2(objectId))
                {
                    return true;
                }
            }
            return false;
        }