truncateFilename
@forge/monorepo / backend/src / truncateFilename
Function: truncateFilename()
truncateFilename(
filename):string
Defined in: backend/src/files/context.ts:67
A filename, trimmed to a bound, with the extension kept because it is the part that carries meaning.
Parameters
filename
string
Returns
string