MCPcopy Create free account
hub / github.com/NV404/gova / Types

Method Types

dialog.go:195–198  ·  view source on GitHub ↗

Types restricts the visible files to the given extensions.

(exts ...string)

Source from the content-addressed store, hash-verified

193
194// Types restricts the visible files to the given extensions.
195func (b *SavePickerBuilder) Types(exts ...string) *SavePickerBuilder {
196 b.opts.Extensions = normalizeExtensions(exts)
197 return b
198}
199
200// StartDir sets the directory the picker opens in.
201func (b *SavePickerBuilder) StartDir(path string) *SavePickerBuilder {

Callers

nothing calls this directly

Calls 1

normalizeExtensionsFunction · 0.85

Tested by

no test coverage detected