generators

package
v0.0.0-...-5a3d5de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package generators contains common helpers for generators

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanDirectory

func CleanDirectory(p string) error

CleanDirectory removes a directory and recreates it.

func DestDirectory

func DestDirectory(p string) string

DestDirectory returns the destination directory to generate to. It will prefer the zsys install directory if available, or will return path otherwise

func InstallOnlyMode

func InstallOnlyMode() bool

InstallOnlyMode returns if we only want to install and not affect current repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL