func GetFileModTime(path string) (time.Time, error) {
	fi, err := stat(path)
	if err != nil {
		return time.Time{}, fmt.Errorf("error performing stat on %s: %s", path, err.Error())
	}

	ret := fi.ModTime()
	// truncate to seconds, since we don't store beyond that in the database
	ret = ret.Truncate(time.Second)

	return ret, nil
}
// GetFileModTime gets the file modification time, handling files in zip files.
GetFileModTime gets the file modification time, handling files in zip files.
// GetFileModTime gets the file modification time handling files in zip files .
func GetFileModTime(path string) (time.Time, error) {
	fi, err := stat(path)
	if err != nil {
		return time.Time{}, fmt.Errorf("error performing stat on %s: %s", path, err.Error())
	}
	ret := fi.ModTime()
	ret = ret.Truncate(time.Second)
	return ret, nil
}
func GetFileModTime ( path string ) ( time . Time , error ) { fi , err := stat ( path ) if err != nil { return time . Time { } , fmt . Errorf ( " " , path , err . Error ( ) ) } ret := fi . ModTime ( ) ret = ret . Truncate ( time . Second ) return ret , nil }
GetFileModTime gets the file modification time, handling files in zip files.
GetFileModTime gets the file modification time handling files in zip files .
// truncate to seconds, since we don't store beyond that in the database