Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcopley committed Mar 29, 2023
1 parent 1924461 commit ead7cf1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions models/AmazonS3.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1719,8 +1719,12 @@ component accessors="true" singleton {
}

/**
* Determine mime type from the file extension
* */
* Determines mime type from the file extension
*
* @filePath The path to the file stored in S3.
*
* @return string
*/
string function getFileMimeType( required string filePath ){
var contentType = "binary/octet-stream";
if ( len( arguments.filePath ) ) {
Expand Down

0 comments on commit ead7cf1

Please sign in to comment.