Luke-Roy-IBM commented on code in PR #191: URL: https://github.com/apache/openwhisk-runtime-go/pull/191#discussion_r1156897138
########## openwhisk/filetype.go: ########## @@ -65,3 +65,13 @@ func IsZip(buf []byte) bool { (buf[2] == 0x3 || buf[2] == 0x5 || buf[2] == 0x7) && (buf[3] == 0x4 || buf[3] == 0x6 || buf[3] == 0x8) } + +// IsTarGz checks if the given file is a valid tar.gz file +func IsTarGz(buf []byte) bool { Review Comment: Added your suggestions 👍 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@openwhisk.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org