Documentation ¶
Index ¶
- func CreateDir(path string)
- func CreateFile(path string)
- func CreateFileWithContent(path string, content string)
- func ExistDir(path string) bool
- func ExistFile(path string) bool
- func GetCommitish() *string
- func HasDependencies(packageJSON *typescript.PackageJson) bool
- func IsFileTs(filePath string) bool
- func MustExistDir(path string)
- func MustExistFile(path string)
- func MustLoadPackageJSON(directory string) *typescript.PackageJson
- func MustLoadTsConfig(directory string) *typescript.TsConfig
- func MustSavePackageJSON(directory string, config *typescript.PackageJson)
- func MustSaveTsConfig(directory string, config *typescript.TsConfig)
- func MustZipAndHashDir(dirPath string, insidePath string, limitBytes int) ([]byte, string)
- func MustZipDir(dirPath string, insidePath string, limitBytes int) []byte
- func PackageJSONExists(directory string) bool
- func ReadFile(path string) string
- func RemoveDirWithContent(path string)
- func TsConfigExists(directory string) bool
- func ZipAndHashDir(dirPath, insidePath string, limitBytes int) ([]byte, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
func CreateFile(path string)
func CreateFileWithContent ¶
func GetCommitish ¶
func GetCommitish() *string
func HasDependencies ¶ added in v1.4.8
func HasDependencies(packageJSON *typescript.PackageJson) bool
func MustExistDir ¶
func MustExistDir(path string)
func MustExistFile ¶
func MustExistFile(path string)
func MustLoadPackageJSON ¶
func MustLoadPackageJSON(directory string) *typescript.PackageJson
func MustLoadTsConfig ¶
func MustLoadTsConfig(directory string) *typescript.TsConfig
func MustSavePackageJSON ¶
func MustSavePackageJSON(directory string, config *typescript.PackageJson)
func MustSaveTsConfig ¶
func MustSaveTsConfig(directory string, config *typescript.TsConfig)
func MustZipAndHashDir ¶ added in v1.4.1
func PackageJSONExists ¶
func RemoveDirWithContent ¶ added in v1.4.5
func RemoveDirWithContent(path string)
func TsConfigExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.