MCPcopy Create free account
hub / github.com/apache/httpd / ap_count_dirs

Function ap_count_dirs

server/util.c:708–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706
707
708AP_DECLARE(int) ap_count_dirs(const char *path)
709{
710 int x, n;
711
712 for (x = 0, n = 0; path[x]; x++)
713 if (path[x] == '/')
714 n++;
715 return n;
716}
717
718AP_DECLARE(char *) ap_getword_nc(apr_pool_t *atrans, char **line, char stop)
719{

Callers 2

dirsectionFunction · 0.85
ap_directory_walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected