Skip to content

*: introduce Comparer.FormatValue#635

Merged
petermattis merged 2 commits intomasterfrom
pmattis/format-value
Apr 21, 2020
Merged

*: introduce Comparer.FormatValue#635
petermattis merged 2 commits intomasterfrom
pmattis/format-value

Conversation

@petermattis
Copy link
Copy Markdown
Collaborator

Rename tool.formatter to tool.keyFormatter and add
tool.valueFormatter. This allowed plumbing through the use of
Comparer.FormatValue throughout the tool commands.

Fixes #630

Rename `Comparer.Format` to `Comparer.FormatKey`. This is in preparation
for adding `FormatValue`.
Rename `tool.formatter` to `tool.keyFormatter` and add
`tool.valueFormatter`. This allowed plumbing through the use of
`Comparer.FormatValue` throughout the tool commands.

Fixes #630
@petermattis petermattis requested review from itsbilal and jbowens April 20, 2020 17:42
@petermattis
Copy link
Copy Markdown
Collaborator Author

This change is Reviewable

Copy link
Copy Markdown
Contributor

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

Reviewed 15 of 15 files at r1, 13 of 13 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @itsbilal)

Copy link
Copy Markdown
Contributor

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @itsbilal)

@petermattis
Copy link
Copy Markdown
Collaborator Author

TFTR!

@petermattis petermattis merged commit 968a514 into master Apr 21, 2020
@petermattis petermattis deleted the pmattis/format-value branch April 21, 2020 18:11
itsbilal added a commit to itsbilal/pebble that referenced this pull request Apr 21, 2020
Merging cockroachdb#614 and cockroachdb#635 in quick succession broke the master build.
This change updates L0SubLevels with the type rename.
itsbilal added a commit that referenced this pull request Apr 21, 2020
Merging #614 and #635 in quick succession broke the master build.
This change updates L0SubLevels with the type rename.
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.

tool: add value pretty-printing facility

2 participants