// onlySg returns whether the ChangedFiles are only in the ./dev/sg folder.
onlySg returns whether the ChangedFiles are only in the ./dev/sg folder.
// onlySg returns whether the ChangedFiles are only in the . / dev / sg folder .
func (c ChangedFiles) onlySg() bool {
	for _, p := range c {
		if !strings.HasPrefix(p, "dev/sg/") {
			return false
		}
	}
	return true
}
func ( c ChangedFiles ) onlySg ( ) bool { for _ , p := range c { if ! strings . HasPrefix ( p , " " ) { return false } } return true }
onlySg returns whether the ChangedFiles are only in the ./dev/sg folder.
onlySg returns whether the ChangedFiles are only in the . / dev / sg folder .