Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/p2r3/convert
/ withExt
Method
withExt
src/FormatHandler.ts:117–120 ·
view source on GitHub ↗
(ext: string)
Source
from the content-addressed store, hash-verified
115
return
this;
116
},
117
withExt(ext: string) {
118
this.extension = ext;
119
return
this;
120
},
121
withMime(mimetype: string) {
122
this.mime = mimetype;
123
return
this;
Callers
2
configHandler
Class · 0.80
rename.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected