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-ds-flatfs
Commits
d2040b5f
Commit
d2040b5f
authored
Jan 17, 2017
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix README file name.
parent
9553971a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
flatfs_test.go
flatfs_test.go
+2
-2
shard.go
shard.go
+1
-1
No files found.
flatfs_test.go
View file @
d2040b5f
...
...
@@ -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"
)
...
...
shard.go
View file @
d2040b5f
...
...
@@ -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
...
...
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