blob: 8ef2ee8d19e2167dd93f78a003793edd403b5b83 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_LIB_INSPECT_DEPRECATED_QUERY_READ_H_
#define SRC_LIB_INSPECT_DEPRECATED_QUERY_READ_H_
#include "source.h"
namespace inspect_deprecated {
// Consults the file system to interpret and open the given location, reading
// it into a new Source.
fit::promise<Source, std::string> ReadLocation(Location location, int depth = -1);
} // namespace inspect_deprecated
#endif // SRC_LIB_INSPECT_DEPRECATED_QUERY_READ_H_