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
ba605e54
Commit
ba605e54
authored
Sep 16, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: document Blksize and Blocks in Attr
Change-Id: I1c098b6c06ab62aa7877e47aa3d99f37e9a83e5c
parent
a3bb2189
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
fuse/types_linux.go
fuse/types_linux.go
+7
-3
No files found.
fuse/types_linux.go
View file @
ba605e54
...
@@ -16,8 +16,10 @@ const (
...
@@ -16,8 +16,10 @@ const (
)
)
type
Attr
struct
{
type
Attr
struct
{
Ino
uint64
Ino
uint64
Size
uint64
Size
uint64
// Blocks is the number of 512-byte blocks that the file occupies on disk.
Blocks
uint64
Blocks
uint64
Atime
uint64
Atime
uint64
Mtime
uint64
Mtime
uint64
...
@@ -28,7 +30,9 @@ type Attr struct {
...
@@ -28,7 +30,9 @@ type Attr struct {
Mode
uint32
Mode
uint32
Nlink
uint32
Nlink
uint32
Owner
Owner
Rdev
uint32
Rdev
uint32
// Blksize is the preferred size for file system operations.
Blksize
uint32
Blksize
uint32
Padding
uint32
Padding
uint32
}
}
...
...
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