| 15 | return currentAppData; |
| 16 | } |
| 17 | IAsyncOperation<StorageFolder> ConfigUtil::GetDefaultConfigFolder() |
| 18 | { |
| 19 | auto configItem = co_await LocalFolder.TryGetItemAsync(LocalFolderConfigDirName); |
| 20 | if (configItem == nullptr || configItem.IsOfType(StorageItemTypes::File)) { |
| 21 | configItem = co_await LocalFolder.CreateFolderAsync(LocalFolderConfigDirName, CreationCollisionOption::ReplaceExisting); |
| 22 | } |
| 23 | co_return configItem.as<StorageFolder>(); |
| 24 | } |
| 25 | IAsyncOperation<IStorageFolder> ConfigUtil::GetConfigFolder() |
| 26 | { |
| 27 | if (cachedConfigFolder) |
nothing calls this directly
no outgoing calls
no test coverage detected