Flutter Engine
The Flutter Engine
fml
platform
fuchsia
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>
GetExecutablePath
() {
12
return
{
false
,
""
};
13
}
14
15
fml::UniqueFD
GetCachesDirectory
() {
16
return
OpenDirectory
(
"/cache"
,
false
,
fml::FilePermission::kRead
);
17
}
18
19
}
// namespace paths
20
}
// namespace fml
fml::UniqueObject< int, internal::os_unix::UniqueFDTraits >
fml::paths::GetExecutablePath
std::pair< bool, std::string > GetExecutablePath()
Definition:
paths_android.cc:12
fml::paths::GetCachesDirectory
fml::UniqueFD GetCachesDirectory()
Definition:
paths_android.cc:22
fml
Definition:
ascii_trie.cc:9
fml::OpenDirectory
fml::UniqueFD OpenDirectory(const char *path, bool create_if_necessary, FilePermission permission)
Definition:
file_posix.cc:97
fml::FilePermission::kRead
@ kRead
Generated on Sun Jun 23 2024 21:54:58 for Flutter Engine by
1.9.4