[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filestore rm #3815

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

filestore rm #3815

wants to merge 1 commit into from

Conversation

kevina
Copy link
Contributor
@kevina kevina commented Mar 23, 2017

Factored out of #3653

@kevina kevina added the status/in-progress In progress label Mar 23, 2017
@kevina kevina changed the base branch from kevina/filestore-util to master March 23, 2017 06:46
@kevina kevina force-pushed the kevina/filestore-rm branch 2 times, most recently from ab1d575 to 72aed97 Compare March 23, 2017 20:25
@whyrusleeping
Copy link
Member

Would the recommended way of deduping between filestore and blockstore be ipfs filestore dups | ipfs filestore rm ?

@kevina
Copy link
Contributor Author
kevina commented Jun 1, 2017

Would the recommended way of deduping between filestore and blockstore be ipfs filestore dups | ipfs filestore rm ?

More or less.

Copy link
Member
@Kubuxu Kubuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGWM

case bs.BlockPrefix.String():
blocks = fs.bs
default:
return nil, fmt.Errorf("Unknown prefix: %s\n", opts.Prefix)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errors should start with lower case.

@kevina kevina force-pushed the kevina/filestore-rm branch 5 times, most recently from d0cc4ea to e125ded Compare October 13, 2017 03:13
@ghost ghost assigned kevina Oct 13, 2017
@kevina kevina changed the base branch from master to feat/commands2.0 October 13, 2017 03:13
@keks keks force-pushed the feat/commands2.0 branch 4 times, most recently from 5cedf7c to 6ac1c1e Compare October 28, 2017 07:52
@keks keks force-pushed the feat/commands2.0 branch 2 times, most recently from 434ee5c to d95a87c Compare November 17, 2017 14:23
@kevina kevina changed the base branch from feat/commands2.0 to master November 28, 2017 18:39
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
@radfish
Copy link
radfish commented Jan 15, 2018

Would the recommended way of deduping between filestore and blockstore be ipfs filestore dups | ipfs filestore rm ?

Would ipfs filestore dups | ipfs block rm also work (to keep in the filestore, but delete from blockstore)?
EDIT: nevermind, i read the patch: ipfs filestore rm --non-filestore.

@kevina
Copy link
Contributor Author
kevina commented Jan 15, 2018

Would ipfs filestore dups | ipfs block rm also work (to keep in the filestore, but delete from blockstore)?

@radfish no that will remove it from both the blockstore and filestore. With this p.r. to remove from the filestore use ipfs filestore rm to remove just the blockstore use ipfs filestore rm --non-filestore.

I am not against adding a --just-blockstore or similar option to ipfs block rm as that seams more intuitive for me.

@momack2 momack2 added this to In Progress in ipfs/go-ipfs May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
ipfs/go-ipfs
In Progress
Development

Successfully merging this pull request may close these issues.

None yet

4 participants