This method only returns successfully if the object exists and was parsed without error. Parsing an object can be expensive as the type must be determined. For blobs this may mean the blob content was unpacked unnecessarily, and thrown away. @param id name of the object. @return reference to the object. Never null. @throws MissingObjectException the supplied does not exist. @throws IOException a pack file or loose object could not be read.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|