MCPcopy Create free account
hub / github.com/couchbase/forestdb / _compactor_get_vfilename

Function _compactor_get_vfilename

src/compactor.cc:252–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252static void _compactor_get_vfilename(char *filename, char *vfilename)
253{
254 int prefix_len = _compactor_prefix_len(filename);
255
256 if (prefix_len > 0) {
257 strncpy(vfilename, filename, prefix_len-1);
258 vfilename[prefix_len-1] = 0;
259 }
260}
261
262static void _compactor_convert_dbfile_to_metafile(char *dbfile, char *metafile)
263{

Callers 1

compactor_threadFunction · 0.85

Calls 1

_compactor_prefix_lenFunction · 0.85

Tested by

no test coverage detected