hashicorp / terraform-config-inspect

A helper library for shallow inspection of Terraform configurations
Mozilla Public License 2.0
383 stars 76 forks source link

WrapFS: for compatibility with the stdlib io/fs package #86

Closed apparentlymart closed 1 year ago

apparentlymart commented 1 year ago

Unfortunately in #49 we adopted a not-yet-finalized snapshot of the io/fs API and the final design doesn't quite match, and so this is a trivial adapter layer to allow passing standard library filesystems into LoadModuleFromFilesystem even though they do not (and cannot) implement our own FS interface.

This closes #63.