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
66046ebb
Commit
66046ebb
authored
Mar 22, 2019
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nodefs: remove Debug option
parent
9636c970
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
8 deletions
+0
-8
nodefs/api.go
nodefs/api.go
+0
-3
nodefs/cache_test.go
nodefs/cache_test.go
+0
-1
nodefs/interrupt_test.go
nodefs/interrupt_test.go
+0
-2
nodefs/simple_test.go
nodefs/simple_test.go
+0
-1
nodefs/zip_test.go
nodefs/zip_test.go
+0
-1
No files found.
nodefs/api.go
View file @
66046ebb
...
@@ -308,9 +308,6 @@ type FileHandle interface {
...
@@ -308,9 +308,6 @@ type FileHandle interface {
// Options sets options for the entire filesystem
// Options sets options for the entire filesystem
type
Options
struct
{
type
Options
struct
{
// Debug toggles debug output
Debug
bool
// If set to nonnil, this defines the overall entry timeout
// If set to nonnil, this defines the overall entry timeout
// for the file system. See fuse.EntryOut for more information.
// for the file system. See fuse.EntryOut for more information.
EntryTimeout
*
time
.
Duration
EntryTimeout
*
time
.
Duration
...
...
nodefs/cache_test.go
View file @
66046ebb
...
@@ -87,7 +87,6 @@ func TestKeepCache(t *testing.T) {
...
@@ -87,7 +87,6 @@ func TestKeepCache(t *testing.T) {
sec
:=
time
.
Second
sec
:=
time
.
Second
root
:=
&
keepCacheRoot
{}
root
:=
&
keepCacheRoot
{}
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
Debug
:
testutil
.
VerboseTest
(),
FirstAutomaticIno
:
1
,
FirstAutomaticIno
:
1
,
AttrTimeout
:
&
sec
,
AttrTimeout
:
&
sec
,
...
...
nodefs/interrupt_test.go
View file @
66046ebb
...
@@ -56,8 +56,6 @@ func TestInterrupt(t *testing.T) {
...
@@ -56,8 +56,6 @@ func TestInterrupt(t *testing.T) {
_
=
time
.
Second
_
=
time
.
Second
oneSec
:=
time
.
Second
oneSec
:=
time
.
Second
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
Debug
:
testutil
.
VerboseTest
(),
// NOSUBMIT - should run all tests without cache too
// NOSUBMIT - should run all tests without cache too
EntryTimeout
:
&
oneSec
,
EntryTimeout
:
&
oneSec
,
AttrTimeout
:
&
oneSec
,
AttrTimeout
:
&
oneSec
,
...
...
nodefs/simple_test.go
View file @
66046ebb
...
@@ -85,7 +85,6 @@ func newTestCase(t *testing.T, entryCache bool, attrCache bool) *testCase {
...
@@ -85,7 +85,6 @@ func newTestCase(t *testing.T, entryCache bool, attrCache bool) *testCase {
entryDT
=
nil
entryDT
=
nil
}
}
tc
.
rawFS
=
NewNodeFS
(
tc
.
loopback
,
&
Options
{
tc
.
rawFS
=
NewNodeFS
(
tc
.
loopback
,
&
Options
{
Debug
:
testutil
.
VerboseTest
(),
EntryTimeout
:
entryDT
,
EntryTimeout
:
entryDT
,
AttrTimeout
:
attrDT
,
AttrTimeout
:
attrDT
,
})
})
...
...
nodefs/zip_test.go
View file @
66046ebb
...
@@ -65,7 +65,6 @@ func TestZipFS(t *testing.T) {
...
@@ -65,7 +65,6 @@ func TestZipFS(t *testing.T) {
mntDir
:=
testutil
.
TempDir
()
mntDir
:=
testutil
.
TempDir
()
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
rawFS
:=
NewNodeFS
(
root
,
&
Options
{
Debug
:
testutil
.
VerboseTest
(),
FirstAutomaticIno
:
1
,
FirstAutomaticIno
:
1
,
})
})
server
,
err
:=
fuse
.
NewServer
(
rawFS
,
mntDir
,
server
,
err
:=
fuse
.
NewServer
(
rawFS
,
mntDir
,
...
...
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