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
7f5e9e55
Commit
7f5e9e55
authored
Aug 12, 2014
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: make Attr output easier to read.
parent
d37c7e2d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
fuse/print.go
fuse/print.go
+1
-0
fuse/print_linux.go
fuse/print_linux.go
+1
-1
No files found.
fuse/print.go
View file @
7f5e9e55
...
@@ -172,6 +172,7 @@ func (me *GetXAttrIn) string() string {
...
@@ -172,6 +172,7 @@ func (me *GetXAttrIn) string() string {
func
(
me
*
GetXAttrOut
)
string
()
string
{
func
(
me
*
GetXAttrOut
)
string
()
string
{
return
fmt
.
Sprintf
(
"{sz %d}"
,
me
.
Size
)
return
fmt
.
Sprintf
(
"{sz %d}"
,
me
.
Size
)
}
}
func
(
me
*
AccessIn
)
string
()
string
{
func
(
me
*
AccessIn
)
string
()
string
{
return
fmt
.
Sprintf
(
"{%s}"
,
FlagString
(
accessFlagName
,
int64
(
me
.
Mask
),
""
))
return
fmt
.
Sprintf
(
"{%s}"
,
FlagString
(
accessFlagName
,
int64
(
me
.
Mask
),
""
))
}
}
...
...
fuse/print_linux.go
View file @
7f5e9e55
...
@@ -16,7 +16,7 @@ func (a *Attr) string() string {
...
@@ -16,7 +16,7 @@ func (a *Attr) string() string {
return
fmt
.
Sprintf
(
return
fmt
.
Sprintf
(
"{M0%o SZ=%d L=%d "
+
"{M0%o SZ=%d L=%d "
+
"%d:%d "
+
"%d:%d "
+
"
%d*%d
%d:%d "
+
"
B%d*%d i
%d:%d "
+
"A %d.%09d "
+
"A %d.%09d "
+
"M %d.%09d "
+
"M %d.%09d "
+
"C %d.%09d}"
,
"C %d.%09d}"
,
...
...
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