-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(action): add functions to detect changes in files
- add new filesystem functions which can detect changes in files base on time-stamps - since we work with large projects, such as Linux Kernel, this detection should be as fast as possible - to make it fast, we solely rely on time, no hashing - the idea is that firmware-action will create a time-stamp file at the end of each execution (for each target) - at the start of each execution firmware-action will load time-stamp file from previous execution and check if any file in sources is newer that the saved time-stamp - the detection function is lazy, and will return on first positive match - if the no file in sources is newer, target should be considered up-to-date and skipped Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
- Loading branch information
Showing
2 changed files
with
213 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters