Commit bec407bc authored by Juan Benet's avatar Juan Benet

Merge pull request #33 from rht/fix/flatfs-sync

Wire flatfs sync argument into Datastore creation
parents 38b98ce0 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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment