fix: open native directory picker for new instances
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user