func FileExists(path string) bool {
	if _, err := os.Stat(path); os.IsNotExist(err) {
		return false
	}
	return true
}
FileExists returns true if the file or directory exists
otherwise it will return false.
package util
import (
	"fmt"
	"io"
	"os"
	"path"
	"runtime"
	"strings"
)
const (
	PiInfo = iota
	PiTask
	PiResult
	PiError
	PiMildError
)
type RepoError struct {
	Update bool
	Clone  bool
	Err    error
}
func (r RepoError) Error() string {
	return r.Err.Error()
}