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-datastore
Commits
1464bf31
Commit
1464bf31
authored
Nov 19, 2015
by
rht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wire flatfs sync argument into Datastore creation
parent
38b98ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
flatfs/flatfs.go
flatfs/flatfs.go
+1
-0
No files found.
flatfs/flatfs.go
View file @
1464bf31
...
...
@@ -49,6 +49,7 @@ func New(path string, prefixLen int, sync bool) (*Datastore, error) {
path
:
path
,
// convert from binary bytes to bytes of hex encoding
hexPrefixLen
:
prefixLen
*
hex
.
EncodedLen
(
1
),
sync
:
sync
,
}
return
fs
,
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