// fileHasContent returns a bool indicating whether the given file has data that could possibly be utilized in
// downstream processing.
fileHasContent returns a bool indicating whether the given file has data that could possibly be utilized in
downstream processing.
// fileHasContent returns a bool indicating whether the given file has data that could possibly be utilized in // downstream processing .
func fileHasContent(f *os.File) bool {
	if f == nil {
		return false
	}
	info, err := f.Stat()
	if err != nil {
		return false
	}
	if size := info.Size(); size > 0 {
		return true
	}
	return false
}
func fileHasContent ( f * os . File ) bool { if f == nil { return false } info , err := f . Stat ( ) if err != nil { return false } if size := info . Size ( ) ; size > 0 { return true } return false }
fileHasContent returns a bool indicating whether the given file has data that could possibly be utilized in
downstream processing.
fileHasContent returns a bool indicating whether the given file has data that could possibly be utilized in downstream processing .