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

hasObjectImpl1() private method

private hasObjectImpl1 ( AnyObjectId objectId ) : bool
objectId AnyObjectId
return bool
        private bool hasObjectImpl1(AnyObjectId objectId)
        {
            if (hasObject1(objectId))
            {
                return true;
            }
            foreach (ObjectDatabase alt in getAlternates())
            {
                if (alt.hasObjectImpl1(objectId))
                {
                    return true;
                }
            }
            return tryAgain1() && hasObject1(objectId);
        }