MCPcopy Index your code
hub / github.com/bytesizedhosting/bcd / DefaultBindings

Function DefaultBindings

plugins/base.go:267–270  ·  view source on GitHub ↗
(opts Options)

Source from the content-addressed store, hash-verified

265}
266
267func DefaultBindings(opts Options) []string {
268 baseOpts := opts.GetBaseOpts()
269 return []string{baseOpts.DataFolder + ":/data", baseOpts.ConfigFolder + ":/config", baseOpts.MediaFolder + ":/media"}
270}
271
272// TODO: Can we extract the baseOpts from the object interface?
273func (s *Base) WriteTemplate(templateName string, outputFile string, object Options) error {

Callers

nothing calls this directly

Calls 1

GetBaseOptsMethod · 0.65

Tested by

no test coverage detected