Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ pathnameHas2Dots
Function
pathnameHas2Dots
freebsd/contrib/zstd/programs/util.c:671–674 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
669
}
670
671
static int pathnameHas2Dots(const char *pathname)
672
{
673
return NULL != strstr(pathname,
".."
);
674
}
675
676
static int isFileNameValidForMirroredOutput(const char *filename)
677
{
Callers
1
isFileNameValidForMirroredOutput
Function · 0.85
Calls
1
strstr
Function · 0.85
Tested by
no test coverage detected