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

hasObject() public method

Does the requested object exist in this database? Alternates (if present) are searched automatically.
public hasObject ( AnyObjectId objectId ) : bool
objectId AnyObjectId identity of the object to test for existence of.
return bool
        public bool hasObject(AnyObjectId objectId)
        {
            return hasObjectImpl1(objectId) || hasObjectImpl2(objectId.ToString());
        }