MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / ensureDirectories

Method ensureDirectories

convert/convert.ts:183–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182 }
183
184 safeFilename(filename: string): string {
185 return filename
186 .replace(/[^\w\s.-]/g, "")
187 .replace(/\s+/g, "_")
188 .substring(0, 100);
189 }
190

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected