mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
Corrected Comment to C++ style
This commit is contained in:
parent
18cb2e2662
commit
c985b5e4d0
@ -815,7 +815,7 @@ mode_t get_mode(headers_t& meta, const char* path, bool checkdir, bool forcedir)
|
|||||||
strConType = strConType.substr(0, pos);
|
strConType = strConType.substr(0, pos);
|
||||||
}
|
}
|
||||||
if(strConType == "application/x-directory"
|
if(strConType == "application/x-directory"
|
||||||
|| strConType == "httpd/unix-directory"){ # Nextcloud uses this MIME type for directory objects when mounting bucket as external Storage
|
|| strConType == "httpd/unix-directory"){ // Nextcloud uses this MIME type for directory objects when mounting bucket as external Storage
|
||||||
mode |= S_IFDIR;
|
mode |= S_IFDIR;
|
||||||
}else if(path && 0 < strlen(path) && '/' == path[strlen(path) - 1]){
|
}else if(path && 0 < strlen(path) && '/' == path[strlen(path) - 1]){
|
||||||
if(strConType == "binary/octet-stream" || strConType == "application/octet-stream"){
|
if(strConType == "binary/octet-stream" || strConType == "application/octet-stream"){
|
||||||
|
Loading…
Reference in New Issue
Block a user