ivanilves/travelgrunt

View on GitHub
pkg/config/mode/groovy.go

Summary

Maintainability
A
0 mins
Test Coverage
package mode

import (
    "os"
    "strings"
)

// IsGroovy tells us we operate on Groovy file(s)
func IsGroovy(d os.DirEntry) bool {
    return FileOrSymlink(d) && strings.HasSuffix(d.Name(), ".groovy")
}