bswap: add 64 bit endianness helper get_be64
[gitweb.git] / refs / packed-backend.h
index 210e3f35ced2593c66198cdb0a549ad829d09de7..03b7c1de95be9387fa0d2165036a4aa6d276d19c 100644 (file)
@@ -11,6 +11,9 @@ struct ref_store *packed_ref_store_create(const char *path,
  */
 int packed_refs_lock(struct ref_store *ref_store, int flags, struct strbuf *err);
 
+void packed_refs_unlock(struct ref_store *ref_store);
+int packed_refs_is_locked(struct ref_store *ref_store);
+
 void add_packed_ref(struct ref_store *ref_store,
                    const char *refname, const struct object_id *oid);