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
82e5e42f
Commit
82e5e42f
authored
Jul 09, 2013
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: document two functions
parent
116a24d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
fuse/misc.go
fuse/misc.go
+2
-1
fuse/print.go
fuse/print.go
+1
-0
No files found.
fuse/misc.go
View file @
82e5e42f
...
...
@@ -30,7 +30,8 @@ func (code Status) Ok() bool {
return
code
==
OK
}
// Convert error back to Errno based errors.
// ToStatus extracts an errno number from Go error objects. If it
// fails, it logs an error and returns ENOSYS.
func
ToStatus
(
err
error
)
Status
{
switch
err
{
case
nil
:
...
...
fuse/print.go
View file @
82e5e42f
...
...
@@ -226,6 +226,7 @@ func (f *FallocateIn) string() string {
f
.
Fh
,
f
.
Offset
,
f
.
Length
,
f
.
Mode
)
}
// Print pretty prints FUSE data types for kernel communication
func
Print
(
obj
interface
{})
string
{
t
,
ok
:=
obj
.
(
interface
{
string
()
string
...
...
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