Skip to content

Conversation

@vadmeste
Copy link
Member

Useful to inspect leftover data from a decommissioned pool.

Useful to inspect leftover data from a decommissioned pool.
type InspectOptions struct {
Volume, File string
PublicKey []byte // PublicKey to use for inspected data.
PoolNumber int // Pool number (1-based) to extract data from. Use 0 for all pools.
Copy link
Contributor

Choose a reason for hiding this comment

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

I was really hoping we could get rid of all the "1-based" in our API at least.

Suggested change
PoolNumber int // Pool number (1-based) to extract data from. Use 0 for all pools.
PoolIdx *int // Pool to fetch. nil = fetch from all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants