Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arktypeio/arktype
/ fileName
Function
fileName
ark/fs/fs.ts:113–113 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
dirname(filePath(caller({ methodName:
"dirOfCaller"
, upStackBy: 1 }).file))
112
113
export
const
fileName = (): string => fileOfCaller()
114
115
export
const
dirName = (): string => dirOfCaller()
116
Callers
3
cli.ts
File · 0.90
functions.test.ts
File · 0.90
shared.ts
File · 0.90
Calls
1
fileOfCaller
Function · 0.85
Tested by
no test coverage detected