Lines Matching defs:string
23 func RunCmd(timeout time.Duration, dir, bin string, args ...string) ([]byte, error) {
71 func Command(bin string, args ...string) *exec.Cmd {
89 func PrependContext(ctx string, err error) error {
100 func IsExist(name string) bool {
106 func IsAccessible(name string) error {
120 func FilesExist(dir string, files map[string]bool) bool {
135 func CopyFiles(srcDir, dstDir string, files map[string]bool) error {
167 func LinkFiles(srcDir, dstDir string, files map[string]bool) error {
190 func MkdirAll(dir string) error {
194 func WriteFile(filename string, data []byte) error {
198 func WriteExecFile(filename string, data []byte) error {
207 func TempFile(prefix string) (string, error) {
217 func ListDir(dir string) ([]string, error) {
236 func Abs(path string) string {