| 111 | } |
| 112 | |
| 113 | IAsyncOperation<StorageFile> MainPage::CopyDefaultConfig(const IStorageFolder& configFolder, std::wstring_view path, const hstring& desiredName) |
| 114 | { |
| 115 | const auto& defaultConfigSrc = co_await StorageFile::GetFileFromApplicationUriAsync(Uri{ path }); |
| 116 | co_return co_await defaultConfigSrc.CopyAsync(configFolder, desiredName, NameCollisionOption::GenerateUniqueName); |
| 117 | } |
| 118 | |
| 119 | IAsyncAction MainPage::LoadConfigs() |
| 120 | { |
nothing calls this directly
no outgoing calls
no test coverage detected