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
6dfb7a9a
Commit
6dfb7a9a
authored
Feb 07, 2013
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop default_test.go
parent
449d6e2e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
27 deletions
+7
-27
fuse/default.go
fuse/default.go
+2
-0
fuse/default_test.go
fuse/default_test.go
+0
-27
fuse/files.go
fuse/files.go
+5
-0
No files found.
fuse/default.go
View file @
6dfb7a9a
...
...
@@ -4,6 +4,8 @@ import (
"time"
)
var
_
=
FileSystem
((
*
DefaultFileSystem
)(
nil
))
// DefaultFileSystem
func
(
fs
*
DefaultFileSystem
)
GetAttr
(
name
string
,
context
*
Context
)
(
*
Attr
,
Status
)
{
return
nil
,
ENOSYS
...
...
fuse/default_test.go
deleted
100644 → 0
View file @
449d6e2e
package
fuse
// Make sure library supplied FileSystems support the
// required interface.
import
(
"testing"
)
func
TestRawFs
(
t
*
testing
.
T
)
{
var
iface
RawFileSystem
_
=
iface
}
func
TestPathFs
(
t
*
testing
.
T
)
{
var
iface
FileSystem
iface
=
new
(
DefaultFileSystem
)
_
=
iface
}
func
TestDummyFile
(
t
*
testing
.
T
)
{
d
:=
new
(
DefaultFile
)
var
filePtr
File
=
d
_
=
filePtr
}
fuse/files.go
View file @
6dfb7a9a
...
...
@@ -100,6 +100,8 @@ type LoopbackFile struct {
DefaultFile
}
var
_
=
(
File
)((
*
LoopbackFile
)(
nil
))
func
(
f
*
LoopbackFile
)
String
()
string
{
return
fmt
.
Sprintf
(
"LoopbackFile(%s)"
,
f
.
File
.
Name
())
}
...
...
@@ -198,6 +200,9 @@ type ReadOnlyFile struct {
File
}
var
_
=
(
File
)((
*
ReadOnlyFile
)(
nil
))
func
(
f
*
ReadOnlyFile
)
String
()
string
{
return
fmt
.
Sprintf
(
"ReadOnlyFile(%s)"
,
f
.
File
.
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