Exemple #1
0
func (f *File) setGroup(args haiconf.CommandArgs) error {
	grp, err := haiconf.CheckSystemGroup("Group", args)
	if err != nil {
		return err
	}

	f.Group = grp
	return nil
}
Exemple #2
0
func (d *Directory) setGroup(args haiconf.CommandArgs) error {
	grp, err := haiconf.CheckSystemGroup("Group", args)
	if err != nil {
		return err
	}

	d.Group = grp
	return nil
}