mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
21 lines
498 B
C++
21 lines
498 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/fml/file.h"
|
|
#include "flutter/fml/paths.h"
|
|
|
|
namespace fml {
|
|
namespace paths {
|
|
|
|
std::pair<bool, std::string> GetExecutableDirectoryPath() {
|
|
return {false, ""};
|
|
}
|
|
|
|
fml::UniqueFD GetCachesDirectory() {
|
|
return OpenDirectory("/cache", false, fml::FilePermission::kRead);
|
|
}
|
|
|
|
} // namespace paths
|
|
} // namespace fml
|