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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path |
string |
Returns
Section titled “Returns”string