From abdc5138dfe5b85c0e476fe7a50c6d30d10b9fb9 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 18 May 2015 10:21:33 +1000 Subject: [PATCH] Added documentation. --- mounted_file_system.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mounted_file_system.go b/mounted_file_system.go index 082d9e8..24bfb90 100644 --- a/mounted_file_system.go +++ b/mounted_file_system.go @@ -65,7 +65,9 @@ type MountConfig struct { // should inherit. If nil, context.Background() will be used. OpContext context.Context - // TODO(jacobsa): Add comments. + // Mount the file system in read-only mode. File modes will appear as normal, + // but opening a file for writing and metadata operations like chmod, + // chtimes, etc. will fail. ReadOnly bool // OS X only.