// Apply implements plan.Resource.
Apply implements plan.Resource.
// Apply implements plan . Resource .
func (d *Dir) Apply(runner plan.Runner, diff plan.Diff) (bool, error) {
	_, err := runner.RunCommand(fmt.Sprintf("mkdir -p %s", d.Path), nil)
	if err != nil {
		return false, err
	}
	return true, nil
}
func ( d * Dir ) Apply ( runner plan . Runner , diff plan . Diff ) ( bool , error ) { _ , err := runner . RunCommand ( fmt . Sprintf ( " " , d . Path ) , nil ) if err != nil { return false , err } return true , nil }
Apply implements plan.Resource.
Apply implements plan . Resource .