diff options
Diffstat (limited to 'plugin/bundle_info.go')
-rw-r--r-- | plugin/bundle_info.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugin/bundle_info.go b/plugin/bundle_info.go deleted file mode 100644 index 9dc47ceea..000000000 --- a/plugin/bundle_info.go +++ /dev/null @@ -1,20 +0,0 @@ -package plugin - -type BundleInfo struct { - Path string - - Manifest *Manifest - ManifestPath string - ManifestError error -} - -// Returns bundle info for the given path. The return value is never nil. -func BundleInfoForPath(path string) *BundleInfo { - m, mpath, err := FindManifest(path) - return &BundleInfo{ - Path: path, - Manifest: m, - ManifestPath: mpath, - ManifestError: err, - } -} |