Skip to content

Commit

Permalink
Fix README file name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevina committed Jan 19, 2017
1 parent 9553971 commit d2040b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flatfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ func testStorage(p *params, t *testing.T) {
return err
}
switch path {
case ".", "..", flatfs.SHARDING_FN:
case ".", "..", "SHARDING":
// ignore
case flatfs.README_FN:
case "_README":
_, err := ioutil.ReadFile(absPath)
if err != nil {
t.Error("could not read _README file")
Expand Down
2 changes: 1 addition & 1 deletion shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var IPFS_DEF_SHARD_STR = IPFS_DEF_SHARD.String()
const PREFIX = "/repo/flatfs/shard/"

const SHARDING_FN = "SHARDING"
const README_FN = "README"
const README_FN = "_README"

type ShardIdV1 struct {
funName string
Expand Down

0 comments on commit d2040b5

Please sign in to comment.