MCPcopy Create free account
hub / github.com/git/git / odb_source_freshen_object

Function odb_source_freshen_object

odb/source.h:398–402  ·  view source on GitHub ↗

* Freshen an object in the object database by updating its timestamp. * Returns 1 in case the object has been freshened, 0 in case the object does * not exist. */

Source from the content-addressed store, hash-verified

396 * not exist.
397 */
398static inline int odb_source_freshen_object(struct odb_source *source,
399 const struct object_id *oid)
400{
401 return source->freshen_object(source, oid);
402}
403
404/*
405 * Write an object into the object database source. Returns 0 on success, a

Callers 3

odb_freshen_objectFunction · 0.85

Calls

no outgoing calls

Tested by 1