WithBaseDir indicates that the given path should be used to resolve relative paths.
(path string)
| 76 | // WithBaseDir indicates that the given path should be used to resolve relative |
| 77 | // paths. |
| 78 | func 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. |
no outgoing calls
searching dependent graphs…