Closed dmikusa closed 2 years ago
NewBindingsForLaunch
NewBindingsForBuild
NewBindings
NewBindingsFromPath
os.ReadDir
filepath.Glob
Resolves #73.
Signed-off-by: Daniel Mikusa dmikusa@vmware.com
NewBindingsForLaunch
NewBindingsForBuild
toNewBindings
NewBindings
is the recommended entrypoint for loading bindings across build/detect/launchNewBindingsFromPath
is being left public for historical reasons and to provide a bit of extra flexiblityNewBindings
os.ReadDir
instead offilepath.Glob
, the latter will swallow I/O errors which can make it hard to debug binding issuesResolves #73.
Signed-off-by: Daniel Mikusa dmikusa@vmware.com