MCPcopy Create free account
hub / github.com/campoy/embedmd / WithBaseDir

Function WithBaseDir

embedmd/embedmd.go:78–80  ·  view source on GitHub ↗

WithBaseDir indicates that the given path should be used to resolve relative paths.

(path string)

Source from the content-addressed store, hash-verified

76// WithBaseDir indicates that the given path should be used to resolve relative
77// paths.
78func WithBaseDir(path string) Option {
79 return Option{func(e *embedder) { e.baseDir = path }}
80}
81
82// WithFetcher provides a custom Fetcher to be used whenever a path or url needs
83// to be fetched.

Callers 1

TestProcessFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestProcessFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…