Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-ds-flatfs
Commits
e4f1bbc4
Unverified
Commit
e4f1bbc4
authored
Apr 09, 2020
by
Will Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove extraneous open fn
parent
ff9cd6d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
util_unix.go
util_unix.go
+0
-4
util_windows.go
util_windows.go
+0
-4
No files found.
util_unix.go
View file @
e4f1bbc4
...
@@ -14,7 +14,3 @@ func tempFile(dir, pattern string) (*os.File, error) {
...
@@ -14,7 +14,3 @@ func tempFile(dir, pattern string) (*os.File, error) {
func
readFile
(
filename
string
)
([]
byte
,
error
)
{
func
readFile
(
filename
string
)
([]
byte
,
error
)
{
return
ioutil
.
ReadFile
(
filename
)
return
ioutil
.
ReadFile
(
filename
)
}
}
func
open
(
name
string
)
(
*
os
.
File
,
error
)
{
return
os
.
Open
(
name
)
}
util_windows.go
View file @
e4f1bbc4
...
@@ -91,7 +91,3 @@ func readFile(filename string) ([]byte, error) {
...
@@ -91,7 +91,3 @@ func readFile(filename string) ([]byte, error) {
return
ioutil
.
ReadAll
(
f
)
return
ioutil
.
ReadAll
(
f
)
}
}
func
open
(
name
string
)
(
*
os
.
File
,
error
)
{
return
goissue34681
.
Open
(
name
)
}
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