Flutter Engine
Loading...
Searching...
No Matches
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 >
file.h
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
paths.h
fml
platform
fuchsia
paths_fuchsia.cc
Generated on Thu Nov 6 2025 16:11:22 for Flutter Engine by
1.9.8