blob: e4c27448c4e5eefc31b8b20a2b219972e9092c34 [file] [log] [blame]
// Copyright 2018 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.
#include "peridot/lib/module_manifest_source/package_util.h"
#include <src/lib/fxl/strings/string_printf.h>
namespace modular {
std::string GetModuleManifestPathFromPackage(fxl::StringView package_name,
fxl::StringView package_version) {
return fxl::StringPrintf("/pkgfs/packages/%s/%s/meta/module.json", package_name.data(),
package_version.data());
}
} // namespace modular