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
Levin Zimmermann
go-fuse
Commits
a88fc1d0
Commit
a88fc1d0
authored
Jul 20, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs: fix doc nits
Change-Id: I87db804ce6df8b21f4cfba8557395b0067a177da
parent
4aed08d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fs/api.go
fs/api.go
+1
-1
fs/example_test.go
fs/example_test.go
+3
-3
No files found.
fs/api.go
View file @
a88fc1d0
...
...
@@ -66,7 +66,7 @@
//
// Inode: ("index node") points to the file content, and stores
// metadata (size, timestamps) about a file or directory. Each
//
directory
has a type (directory, symlink, regular file, etc.) and
//
inode
has a type (directory, symlink, regular file, etc.) and
// an identity (a 64-bit number, unique to the file
// system). Directories can have children.
//
...
...
fs/example_test.go
View file @
a88fc1d0
...
...
@@ -14,9 +14,9 @@ import (
"github.com/hanwen/go-fuse/fuse"
)
//
An example of creating a loopback file system, and mounting it onto
// a directory
func
Example_mount
Loopback
()
{
//
ExampleMount shows how to create a loopback file system, and
//
mounting it onto
a directory
func
Example_mount
()
{
mntDir
,
_
:=
ioutil
.
TempDir
(
""
,
""
)
home
:=
os
.
Getenv
(
"HOME"
)
// Make $HOME available on a mount dir under /tmp/ . Caution:
...
...
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