Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ resolve_export_filepath
Function
resolve_export_filepath
src/utils/export_formats.py:85–86 ·
view source on GitHub ↗
(cwd: str, filename: str)
Source
from the content-addressed store, hash-verified
83
84
85
def
resolve_export_filepath(cwd: str, filename: str) -> str:
86
return
filename
if
os.path.isabs(filename)
else
os.path.join(cwd, filename)
87
88
89
SUPPORTED_FORMATS =
"Supported formats: text, markdown, json."
Callers
3
_write_export
Method · 0.90
test_resolves_relative_export_filenames_under_cwd
Method · 0.90
test_preserves_absolute_export_filenames
Method · 0.90
Calls
1
join
Method · 0.80
Tested by
2
test_resolves_relative_export_filenames_under_cwd
Method · 0.72
test_preserves_absolute_export_filenames
Method · 0.72