DescriptionFiles.app: Add createSnapshot, clone, hasFreashCache methods to metadata models.
The CL:
* Adds createSnapshot and hasFreshCache methods to MetadataCacheSet
* Adds clone and hasFreshCache mehtods to MetadataCacheItem
The createSnapshot and clone are the methods to generage deep copy of the model.
The hasFreshCache is the method to check the cache contains all required caches.
BUG=410766
TEST=FileManagerJsTest.MetadataCacheSet,FileManagerJsTest.MetadataCacheItem
Committed: https://crrev.com/c69d6c6efff672ca757217d73746b9c8f87cb4d8
Cr-Commit-Position: refs/heads/master@{#314259}
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 12 (4 generated)
|