blob: c0de58fe4b1927d9f3ee83a4e2c606cc3a7b8388 [file] [log] [blame]
// Copyright 2020 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_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_
#define SRC_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_
#include <lib/zx/channel.h>
#include <lib/zx/status.h>
#include <string>
#include <string_view>
namespace storage {
zx::status<std::string> GetTopologicalPath(const zx::channel& channel);
zx::status<std::string> GetTopologicalPath(const std::string& path);
} // namespace storage
#endif // SRC_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_