-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Resource: Add isModified method
This allows to check whether the content of a resource has been modified. For example, if a build processor did not modify a resource, one could omit writing it into the workspace resource collection. If a resource has not been modified during the build process and has not been written into the workspace, the FileSystem adapter can optimize the write process, for example by using fs.copyFile. Also in this change: * Rename internal Resource parameter 'source' to 'sourceMetadata' and contained flag 'modified' to 'contentModified' * FileSystem adapter: Do not stream into the same file when writing. Refactor related code
- Loading branch information
1 parent
7d1a2c6
commit f6a590a
Showing
6 changed files
with
358 additions
and
94 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
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
Oops, something went wrong.