func (u *Unit) Requires() (names []string) {
	names = u.Interface.Requires()

	if paths, err := readDepDir(u.requiresDir()); err == nil {
		names = append(names, paths...)
	}

	return
}
// Requires returns a slice of unit names as found in definition and absolute paths
// of units symlinked in units '.wants' directory
Requires returns a slice of unit names as found in definition and absolute paths
of units symlinked in units '.wants' directory
// Requires returns a slice of unit names as found in definition and absolute paths // of units symlinked in units ' . wants ' directory
func (u *Unit) Requires() (names []string) {
	names = u.Interface.Requires()
	if paths, err := readDepDir(u.requiresDir()); err == nil {
		names = append(names, paths...)
	}
	return
}
func ( u * Unit ) Requires ( ) ( names [ ] string ) { names = u . Interface . Requires ( ) if paths , err := readDepDir ( u . requiresDir ( ) ) ; err == nil { names = append ( names , paths ... ) } return }
Requires returns a slice of unit names as found in definition and absolute paths
of units symlinked in units '.wants' directory
Requires returns a slice of unit names as found in definition and absolute paths of units symlinked in units ' . wants ' directory