Reviewed on: 2019-07-11
component_index provides an implementation of the
fuchsia.sys.index.ComponentIndex service, which is used on Fuchsia devices to convert human input into component URLs for developers.
To add this project to your build, append
--with //src/sys/component_index to the
fx set invocation.
Once included in a build,
component_index can be accessed via tools such as
$ fx shell locate --help
Unit tests for
component_index are available in the
$ fx run-test component_index_tests
The entrypoint is located in
src/main.rs, and the fidl service is defined in