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
0f41d79d
Commit
0f41d79d
authored
Jan 29, 2023
by
Han-Wen Nienhuys
Committed by
Han-Wen Nienhuys
Jan 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run gofmt -s -w globally
Change-Id: I1aff29b88edff004f2b1cf7c36831c1767608b0d
parent
265a3926
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
fs/inode_parents_test.go
fs/inode_parents_test.go
+5
-5
fs/loopback_darwin.go
fs/loopback_darwin.go
+1
-0
fs/loopback_linux.go
fs/loopback_linux.go
+1
-0
fuse/print.go
fuse/print.go
+1
-1
newunionfs/unionfs.go
newunionfs/unionfs.go
+1
-1
splice/pair_darwin.go
splice/pair_darwin.go
+0
-2
No files found.
fs/inode_parents_test.go
View file @
0f41d79d
...
...
@@ -18,11 +18,11 @@ func TestInodeParents(t *testing.T) {
// non-dupes should be stored
all
:=
[]
parentData
{
parentData
{
"foo"
,
&
ino1
},
parentData
{
"foo2"
,
&
ino1
},
parentData
{
"foo3"
,
&
ino1
},
parentData
{
"foo"
,
&
ino2
},
parentData
{
"foo"
,
&
ino3
},
{
"foo"
,
&
ino1
},
{
"foo2"
,
&
ino1
},
{
"foo3"
,
&
ino1
},
{
"foo"
,
&
ino2
},
{
"foo"
,
&
ino3
},
}
for
i
,
v
:=
range
all
{
p
.
add
(
v
)
...
...
fs/loopback_darwin.go
View file @
0f41d79d
//go:build darwin
// +build darwin
// Copyright 2019 the Go-FUSE Authors. All rights reserved.
...
...
fs/loopback_linux.go
View file @
0f41d79d
//go:build linux
// +build linux
// Copyright 2019 the Go-FUSE Authors. All rights reserved.
...
...
fuse/print.go
View file @
0f41d79d
...
...
@@ -209,7 +209,7 @@ func (o *AttrOut) string() string {
// ft converts (seconds , nanoseconds) -> float(seconds)
func
ft
(
tsec
uint64
,
tnsec
uint32
)
float64
{
return
float64
(
tsec
)
+
float64
(
tnsec
)
*
1
E
-9
return
float64
(
tsec
)
+
float64
(
tnsec
)
*
1
e
-9
}
// Returned by LOOKUP
...
...
newunionfs/unionfs.go
View file @
0f41d79d
...
...
@@ -335,7 +335,7 @@ var _ = (fs.NodeReaddirer)((*unionFSNode)(nil))
func
(
n
*
unionFSNode
)
Readdir
(
ctx
context
.
Context
)
(
fs
.
DirStream
,
syscall
.
Errno
)
{
root
:=
n
.
root
()
markers
:=
map
[
string
]
struct
{}{
delDirHash
:
struct
{}
{}}
markers
:=
map
[
string
]
struct
{}{
delDirHash
:
{}}
// ignore error: assume no markers
root
.
allMarkers
(
markers
)
...
...
splice/pair_darwin.go
View file @
0f41d79d
...
...
@@ -4,8 +4,6 @@
package
splice
import
()
func
(
p
*
Pair
)
LoadFromAt
(
fd
uintptr
,
sz
int
,
off
int64
)
(
int
,
error
)
{
panic
(
"not implemented"
)
return
0
,
nil
...
...
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