Commit d2040b5f authored by Kevin Atkinson's avatar Kevin Atkinson

Fix README file name.

parent 9553971a
...@@ -185,9 +185,9 @@ func testStorage(p *params, t *testing.T) { ...@@ -185,9 +185,9 @@ func testStorage(p *params, t *testing.T) {
return err return err
} }
switch path { switch path {
case ".", "..", flatfs.SHARDING_FN: case ".", "..", "SHARDING":
// ignore // ignore
case flatfs.README_FN: case "_README":
_, err := ioutil.ReadFile(absPath) _, err := ioutil.ReadFile(absPath)
if err != nil { if err != nil {
t.Error("could not read _README file") t.Error("could not read _README file")
......
...@@ -15,7 +15,7 @@ var IPFS_DEF_SHARD_STR = IPFS_DEF_SHARD.String() ...@@ -15,7 +15,7 @@ var IPFS_DEF_SHARD_STR = IPFS_DEF_SHARD.String()
const PREFIX = "/repo/flatfs/shard/" const PREFIX = "/repo/flatfs/shard/"
const SHARDING_FN = "SHARDING" const SHARDING_FN = "SHARDING"
const README_FN = "README" const README_FN = "_README"
type ShardIdV1 struct { type ShardIdV1 struct {
funName string funName string
......
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