GitSharp.Core.ObjectDatabase.hasObjectImpl2 C# (CSharp) Method

hasObjectImpl2() private method

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