Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudconvert/cloudconvert-cli
/ resolveUploadFilePath
Function
resolveUploadFilePath
src/job.ts:623–633 ·
view source on GitHub ↗
(file: string)
Source
from the content-addressed store, hash-verified
621
}
622
623
function
resolveUploadFilePath(file: string): string {
624
if
(file ===
'~'
) {
625
return
homedir();
626
}
627
628
if
(file.startsWith(
'~/'
)) {
629
return
join(homedir(), file.slice(2));
630
}
631
632
return
file;
633
}
Callers
1
uploadFiles
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected