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

Add ability to skip placing unchanged output files #111

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

Conversation

dfederm
Copy link
Member

@dfederm dfederm commented Dec 24, 2024

This adds a new setting which keeps state for files that it places on disk from cache. On subsequent builds, it will read this state and avoid copying files which are unchanged.

A file is considered unchanged if:

  • It exists
  • The previously placed file and file to be placed have the same hash
  • The previously placed file and current file on disk have the same timestamp
  • The previously placed file and current file on disk have the same file size

@dfederm dfederm force-pushed the skip-unchanged-output-files branch from 924e596 to c7a9b04 Compare December 26, 2024 18:29
@dfederm dfederm enabled auto-merge (squash) December 26, 2024 18:59
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.

1 participant