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

Function get_st_mode_bits

path.c:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "exec-cmd.h"
20
21static int get_st_mode_bits(const char *path, int *mode)
22{
23 struct stat st;
24 if (lstat(path, &st) < 0)
25 return -1;
26 *mode = st.st_mode;
27 return 0;
28}
29
30static struct strbuf *get_pathname(void)
31{

Callers 1

adjust_shared_permFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected