Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ error_name
Function
error_name
t/helper/test-dir-iterator.c:7–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
#include
"dir-iterator.h"
6
7
static const char *error_name(int error_number)
8
{
9
switch (error_number) {
10
case ENOENT: return
"ENOENT"
;
11
case ENOTDIR: return
"ENOTDIR"
;
12
default: return
"ESOMETHINGELSE"
;
13
}
14
}
15
16
/*
17
* usage:
Callers
1
cmd__dir_iterator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected