diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-26 13:58:39 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-26 13:58:39 -0400 |
| commit | ff2ad05270526c1eb98411cafcc88ed8d68b3f62 (patch) | |
| tree | ff77dfb05f6662b1553f78543c878d4d2a40d38e /redo/dialog.go | |
| parent | ecc02ee73202e9a6eba6c3c334f648cfd1660757 (diff) | |
More OpenFile() documentation.
Diffstat (limited to 'redo/dialog.go')
| -rw-r--r-- | redo/dialog.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/dialog.go b/redo/dialog.go index 1567cc7..730e1be 100644 --- a/redo/dialog.go +++ b/redo/dialog.go @@ -12,6 +12,7 @@ type windowDialog interface { // filename is the selected filename, or an empty string if no file was chosen. // OpenFile does not ensure that f remains alive; the programmer is responsible for this. // If possible on a given system, OpenFile() will not dereference links; it will return the link file itself. +// Hidden files will not be hidden by OpenFile(). func OpenFile(win Window, f func(filename string)) { if win == nil { panic("Window passed to OpenFile() cannot be nil") |
