5#include "flutter/fml/paths.h"
7#include <Foundation/Foundation.h>
9#include "flutter/fml/file.h"
16 return {
true, [NSBundle mainBundle].executablePath.UTF8String};
22 auto items = [[NSFileManager defaultManager] URLsForDirectory:NSCachesDirectory
23 inDomains:NSUserDomainMask];
24 if (items.count == 0) {
std::pair< bool, std::string > GetExecutablePath()
fml::UniqueFD GetCachesDirectory()
fml::UniqueFD OpenDirectory(const char *path, bool create_if_necessary, FilePermission permission)