1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00

Delete not used function

This commit is contained in:
Andrey Nering 2017-03-12 17:20:15 -03:00
parent 8c5e7e89cd
commit 40b96ced43

View File

@ -4,8 +4,6 @@ import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"runtime"
"github.com/BurntSushi/toml"
@ -45,14 +43,3 @@ func readTaskfileData(path string) (tasks map[string]*Task, err error) {
}
return nil, taskFileNotFound{path}
}
func exists(path string) (bool, error) {
_, err := os.Stat(path)
if err == nil {
return true, nil
}
if os.IsNotExist(err) {
return false, nil
}
return true, err
}