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-dms3
Commits
fda7dd18
Commit
fda7dd18
authored
Oct 23, 2017
by
Jeromy Johnson
Committed by
GitHub
Oct 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4306 from thisconnect/doc/cmd/add-chunker-options
adds more info about chunker option
parents
5012a9d1
2eea7ba4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/commands/add.go
core/commands/add.go
+1
-1
No files found.
core/commands/add.go
View file @
fda7dd18
...
...
@@ -87,7 +87,7 @@ You can now refer to the added file in a gateway, like so:
cmds
.
BoolOption
(
onlyHashOptionName
,
"n"
,
"Only chunk and hash - do not write to disk."
),
cmds
.
BoolOption
(
wrapOptionName
,
"w"
,
"Wrap files with a directory object."
),
cmds
.
BoolOption
(
hiddenOptionName
,
"H"
,
"Include files that are hidden. Only takes effect on recursive add."
),
cmds
.
StringOption
(
chunkerOptionName
,
"s"
,
"Chunking algorithm
to use.
"
),
cmds
.
StringOption
(
chunkerOptionName
,
"s"
,
"Chunking algorithm
, size-[bytes] or rabin-[min]-[avg]-[max]"
)
.
Default
(
"size-262144
"
),
cmds
.
BoolOption
(
pinOptionName
,
"Pin this object when adding."
)
.
Default
(
true
),
cmds
.
BoolOption
(
rawLeavesOptionName
,
"Use raw blocks for leaf nodes. (experimental)"
),
cmds
.
BoolOption
(
noCopyOptionName
,
"Add the file using filestore. (experimental)"
),
...
...
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