Skip to content

contentTypeForPath

function contentTypeForPath(path): string;

The content type to record for a path, by extension. Public because a caller uploading one file with AuraClient.uploadFile needs the same answer deployFromFolder gives, and guessing differently would store the same file under two types.

Parameter Type
path string

string