From ffa094be50fda6f05da03c8906e7bc68e524bf48 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 20 Mar 2015 11:18:56 +1100 Subject: [PATCH] Switched to string for fool-proofness. --- samples/flushfs/flush_fs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/flushfs/flush_fs.go b/samples/flushfs/flush_fs.go index 6a2416b..ae5875c 100644 --- a/samples/flushfs/flush_fs.go +++ b/samples/flushfs/flush_fs.go @@ -22,5 +22,5 @@ import "github.com/jacobsa/fuse" // empty. Whenever a flush or fsync is received, the supplied function will be // called with the current contents of the file. func NewFileSystem( - reportFlush func([]byte), - reportFsync func([]byte)) (fs fuse.FileSystem, err error) + reportFlush func(string), + reportFsync func(string)) (fs fuse.FileSystem, err error)