Flutter Engine
paths_fuchsia.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "flutter/fml/file.h"
6 #include "flutter/fml/paths.h"
7 
8 namespace fml {
9 namespace paths {
10 
11 std::pair<bool, std::string> GetExecutableDirectoryPath() {
12  return {false, ""};
13 }
14 
16  return OpenDirectory("/cache", false, fml::FilePermission::kRead);
17 }
18 
19 } // namespace paths
20 } // namespace fml
fml::UniqueFD GetCachesDirectory()
Definition: ascii_trie.cc:9
std::pair< bool, std::string > GetExecutableDirectoryPath()
fml::UniqueFD OpenDirectory(const char *path, bool create_if_necessary, FilePermission permission)
Definition: file_posix.cc:94