Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go-fuse
Commits
5796a76a
Commit
5796a76a
authored
Jul 14, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
example: add doc comments to main programs
Change-Id: Iefe9bf5c77a332002b3b0a15b75853102549b511
parent
659be023
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
example/hello/main.go
example/hello/main.go
+2
-2
example/loopback/main.go
example/loopback/main.go
+3
-3
example/multizip/main.go
example/multizip/main.go
+4
-0
example/statfs/main.go
example/statfs/main.go
+3
-0
example/zipfs/main.go
example/zipfs/main.go
+2
-0
No files found.
example/hello/main.go
View file @
5796a76a
...
...
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
A Go mirror of libfuse's hello.c
//
This program is the analogon of libfuse's hello.c, a a program that
// exposes a single file "file.txt" in the root directory.
package
main
import
(
...
...
example/loopback/main.go
View file @
5796a76a
...
...
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
Mounts another directory as loopback for testing and benchmarking
//
purposes.
//
This is main program driver for the loopback filesystem from
//
github.com/hanwen/go-fuse/fs/, a filesystem that shunts operations
// to an underlying file system.
package
main
import
(
...
...
example/multizip/main.go
View file @
5796a76a
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This is main program driver for MultiZipFs from
// github.com/hanwen/go-fuse/zipfs, a filesystem for mounting multiple
// read-only archives. It can be used by symlinking to an archive file
// from the config/ subdirectory.
package
main
import
(
...
...
example/statfs/main.go
View file @
5796a76a
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// statfs is a main driver for the file system from
// github.com/hanwen/go-fuse/benchmark, intended for benchmarking FUSE
// libraries.
package
main
import
(
...
...
example/zipfs/main.go
View file @
5796a76a
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This is main program driver for github.com/hanwen/go-fuse/zipfs, a
// filesystem for mounting read-only archives.
package
main
import
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment