From ff2ad05270526c1eb98411cafcc88ed8d68b3f62 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 26 Aug 2014 13:58:39 -0400 Subject: [PATCH] More OpenFile() documentation. --- redo/dialog.go | 1 + 1 file changed, 1 insertion(+) 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")