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

Function create_file

entry.c:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static int create_file(const char *path, unsigned int mode)
87{
88 mode = (mode & 0100) ? 0777 : 0666;
89 return open(path, O_WRONLY | O_CREAT | O_EXCL, mode);
90}
91
92void *read_blob_entry(const struct cache_entry *ce, size_t *size)
93{

Callers 1

open_output_fdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected