Skip to content

[Merged by Bors] - chore(Cache): move helper functions to Cache.Lean - #21816

Closed
joneugster wants to merge 2 commits into
masterfrom
eugster/cache_move_helpers
Closed

joneugster wants to merge 2 commits into
masterfrom
eugster/cache_move_helpers

Conversation

@joneugster

@joneugster joneugster commented Feb 13, 2025 •

Copy link
Copy Markdown
Member

Move functions about basic Lean types to preliminary file in order to add more such helper functions in the future.


Note: declaration diff gives a false-positive because I changed def System.FilePath.withoutParent ... to

namespace System.FilePath

def withoutParent ...

Open in Gitpod

@joneugster joneugster added easy < 20s of review time. See the lifecycle page for guidelines. t-meta Tactics, attributes or user commands CI Modifies the continuous integration setup or other automation labels Feb 13, 2025
@github-actions

github-actions Bot commented Feb 13, 2025 •

Copy link
Copy Markdown

PR summary 4e4db95a05

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ withoutParent
- System.FilePath.withoutParent

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is only code motion and cosmetic changes, so should be fine. Thanks for splitting this into small reviewable pieces!
maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Feb 13, 2025
@kim-em

kim-em commented Feb 13, 2025

Copy link
Copy Markdown
Contributor

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Feb 13, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Feb 13, 2025
Move functions about basic Lean types to preliminary file in order to add more such helper functions in the future.
@mathlib-bors

mathlib-bors Bot commented Feb 13, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Cache): move helper functions to Cache.Lean [Merged by Bors] - chore(Cache): move helper functions to Cache.Lean Feb 13, 2025
@mathlib-bors mathlib-bors Bot closed this Feb 13, 2025
@mathlib-bors
mathlib-bors Bot deleted the eugster/cache_move_helpers branch February 13, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Modifies the continuous integration setup or other automation easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants