[PATCH] Additional functions for the objects database
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 24 Apr 2005 01:47:23 +0000 (18:47 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 01:47:23 +0000 (18:47 -0700)
commit8237b1854c64492ab5772994b4ac4efd7f1c2fc0
tree562b4adb2f435756bed81fc129116f449d507e53
parent08692164e0937352fb2c8aab5a7318facbd07daa
[PATCH] Additional functions for the objects database

This adds two functions: one to check if an object is present in the local
database, and one to add an object to the local database by reading it
from a file descriptor and checking its hash.

Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h
sha1_file.c