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
d174dc3d
Unverified
Commit
d174dc3d
authored
Apr 17, 2020
by
Steven Allen
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: simplify
Co-Authored-By:
Will
<
will.scott@protocol.ai
>
parent
ea3fd057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
flatfs.go
flatfs.go
+1
-2
No files found.
flatfs.go
View file @
d174dc3d
...
@@ -1109,8 +1109,7 @@ func (fs *Datastore) tempFile() (*os.File, error) {
...
@@ -1109,8 +1109,7 @@ func (fs *Datastore) tempFile() (*os.File, error) {
}
}
func
(
fs
*
Datastore
)
tempFileOnce
()
(
*
os
.
File
,
error
)
{
func
(
fs
*
Datastore
)
tempFileOnce
()
(
*
os
.
File
,
error
)
{
file
,
err
:=
tempFileOnce
(
fs
.
tempPath
,
"temp-"
)
return
tempFileOnce
(
fs
.
tempPath
,
"temp-"
)
return
file
,
err
}
}
// only call this on directories.
// only call this on directories.
...
...
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