util

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2015 License: GPL-3.0, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AcceptedExtensions = make(map[string]bool)

Functions

func CreateDirIn

func CreateDirIn(dir string, dirName string) (string, error)

func CreateFileIn

func CreateFileIn(dir string, fileName string, data []byte) (string, error)

func FindAllNestedDirs added in v0.1.3

func FindAllNestedDirs(dir string) []string

func FindConceptFilesIn

func FindConceptFilesIn(dir string) []string

Finds the concept files in specified directory

func FindSpecFilesIn

func FindSpecFilesIn(dir string) []string

Finds spec files in the given directory

func IsConcept added in v0.1.3

func IsConcept(path string) bool

Returns true if concept file

func IsDir added in v0.1.3

func IsDir(path string) bool

func IsSpec added in v0.1.3

func IsSpec(path string) bool

Returns true if spec file file

func IsValidConceptExtension

func IsValidConceptExtension(path string) bool

Checks if the path has a concept file extension

func IsValidSpecExtension

func IsValidSpecExtension(path string) bool

Checks if the path has a spec file extension

Types

This section is empty.

Jump to

Keyboard shortcuts

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