[roll] Roll fuchsia [package-directory] Add serve_path API

This change adds a new serve_path() API, which is like serve(), except:
* it takes a path, which can be used to open the root of the package
  directory ("."), or any item within the package.
* it handles error cases when loading the package metadata fails,
  responding to the open request with a zx status if an OnOpen event was
  requested by the client before closing the channel.

It also exposes a load() API to load the package metadata but not start
serving it, allowing clients to cache package directory roots/track
opens/etc.

Original-Bug: 85268
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/595873
Original-Revision: 3699bc3d189fcb7e06e2b2399af08fa2f5529ac8
GitOrigin-RevId: aee9c42c719f83a04e9d38019c28b3cab1ba73e0
Change-Id: Ia2f917e4058981203530d7881cb344363ea736a9
1 file changed
tree: 34cc2651967937dcb5ddb1db4a894c34fa4c846b
  1. infra/
  2. third_party/
  3. firmware
  4. flower
  5. jiri.lock
  6. minimal
  7. prebuilts
  8. README.md
  9. stem
  10. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.