odb.c
23 KB
-
odb: avoid hashing twice in and edge case · 090a07d2
If none of the backends support direct writes and we must stream the whole file, we already know what the object's id should be; so use the stream's functions directly, bypassing the frontend's hashing and overwriting of our existing id.
Carlos Martín Nieto committed