From a7ea40f0e4e09bf75f94515542b1e61eed0a6911 Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Wed, 25 Jan 2017 15:34:18 -0800 Subject: [PATCH] rename hoard to deb --- analyzer.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/analyzer.go b/analyzer.go index 34c6a158..5117e5eb 100644 --- a/analyzer.go +++ b/analyzer.go @@ -14,12 +14,12 @@ import ( type analyzer struct{} -// TODO: If we decide to support other tools manifest, this is where we would need -// to add that support. func (a analyzer) DeriveManifestAndLock(path string, n gps.ProjectRoot) (gps.Manifest, gps.Lock, error) { + // TODO: If we decide to support other tools manifest, this is where we would need + // to add that support. mf := filepath.Join(path, manifestName) if fileOK, err := isRegular(mf); err != nil || !fileOK { - // Do not return an error, when does not exist + // Do not return an error, when does not exist. return nil, nil, nil } f, err := os.Open(mf) @@ -32,12 +32,12 @@ func (a analyzer) DeriveManifestAndLock(path string, n gps.ProjectRoot) (gps.Man if err != nil { return nil, nil, err } - // TODO: no need to return lock til we decide about preferred versions - // https://github.com/sdboyer/gps/wiki/gps-for-Implementors#preferred-versions + // TODO: No need to return lock til we decide about preferred versions, see + // https://github.com/sdboyer/gps/wiki/gps-for-Implementors#preferred-versions. return m, nil, nil } func (a analyzer) Info() (name string, version *semver.Version) { v, _ := semver.NewVersion("v0.0.1") - return "hoard", v + return "deb", v }