[botanist] Clean up file I/O in minFS overwrite logic

Bug: IN-556
Tested: ran locally and check contents and image integrity after the
fact with the minfs host tool.

Change-Id: I920ab60a8f6fed0ea71ce101ed108e34620bcfc6
1 file changed
tree: 33b07b69ea00f9addc8dba73391c75dce22e15d8
  1. botanist/
  2. cmd/
  3. fuchsia/
  4. gerrit-policy/
  5. netboot/
  6. ninjalog/
  7. pdu/
  8. qemu/
  9. retry/
  10. secrets/
  11. serial/
  12. telnet/
  13. tftp/
  14. .gitignore
  15. AUTHORS
  16. Gopkg.lock
  17. Gopkg.toml
  18. LICENSE
  19. MAINTAINERS
  20. manifest
  21. PATENTS
  22. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}