[webkit-changes] [WebKit/WebKit] d84c62: Mark cache directories as excluded from backup
Sihui
noreply at github.com
Fri Nov 11 11:02:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d84c620e7679fd8b8b649d7a67e4dacace3a216a
https://github.com/WebKit/WebKit/commit/d84c620e7679fd8b8b649d7a67e4dacace3a216a
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M Source/WTF/wtf/cocoa/FileSystemCocoa.mm
M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
Log Message:
-----------
Mark cache directories as excluded from backup
https://bugs.webkit.org/show_bug.cgi?id=247703
rdar://102164410
Reviewed by Geoffrey Garen.
These directories were excluded from backup because they were under Caches/ directory by default. After 255271 at main, the
directories of a WebsiteDataStore created with UUID can be outside of Caches/ directory, so we need to explicitly mark
them excluded to keep the old behavior.
* Source/WTF/wtf/cocoa/FileSystemCocoa.mm:
(WTF::FileSystemImpl::setExcludedFromBackup):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::resolveDirectoriesIfNecessary):
Canonical link: https://commits.webkit.org/256579@main
More information about the webkit-changes
mailing list