From 74cdc9ad9e4d3e9ccdde5144ebd03135618292f9 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Tue, 29 Mar 2022 00:14:51 +0100 Subject: [PATCH] Documentation. --- file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file.go b/file.go index 5e15d4d..def12f3 100644 --- a/file.go +++ b/file.go @@ -71,8 +71,8 @@ func Filename(filename string) Option { // and only supports filtering by extension // (or "uniform type identifiers"). // -// Patterns may use the GTK syntax on all platforms: -// https://developer.gnome.org/pygtk/stable/class-gtkfilefilter.html#method-gtkfilefilter--add-pattern +// Patterns may use the fnmatch syntax on all platforms: +// https://docs.python.org/3/library/fnmatch.html type FileFilter struct { Name string // display string that describes the filter (optional) Patterns []string // filter patterns for the display string