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

Function odb_source_new

odb/source.c:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "packfile.h"
6
7struct odb_source *odb_source_new(struct object_database *odb,
8 const char *path,
9 bool local)
10{
11 return &odb_source_files_new(odb, path, local)->base;
12}
13
14void odb_source_init(struct odb_source *source,
15 struct object_database *odb,

Callers 3

odb_newFunction · 0.85

Calls 1

odb_source_files_newFunction · 0.85

Tested by

no test coverage detected