MCPcopy Index your code
hub / github.com/git/git / grep_source_init_buf

Function grep_source_init_buf

grep.c:1855–1866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1853}
1854
1855static void grep_source_init_buf(struct grep_source *gs,
1856 const char *buf,
1857 unsigned long size)
1858{
1859 gs->type = GREP_SOURCE_BUF;
1860 gs->name = NULL;
1861 gs->path = NULL;
1862 gs->buf = buf;
1863 gs->size = size;
1864 gs->driver = NULL;
1865 gs->identifier = NULL;
1866}
1867
1868int grep_buffer(struct grep_opt *opt, const char *buf, unsigned long size)
1869{

Callers 1

grep_bufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected