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
bec407bc
Commit
bec407bc
authored
Nov 19, 2015
by
Juan Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33 from rht/fix/flatfs-sync
Wire flatfs sync argument into Datastore creation
parents
38b98ce0
1464bf31
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 @
bec407bc
...
...
@@ -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