10 lines
279 B
Go
10 lines
279 B
Go
package files
|
|
|
|
import "context"
|
|
|
|
// DirectoryPicker opens a platform directory chooser. The implementation must
|
|
// block only in its own goroutine; UI callers receive the result asynchronously.
|
|
type DirectoryPicker interface {
|
|
ChooseDirectory(context.Context) (string, error)
|
|
}
|