| 19 | #include "exec-cmd.h" |
| 20 | |
| 21 | static 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 | |
| 30 | static struct strbuf *get_pathname(void) |
| 31 | { |
no outgoing calls
no test coverage detected