Files
terraform-provider-threshold/plugins/kms/assets.go
T
hashicorp-copywrite[bot] 2248220850 [COMPLIANCE] Add/Update Copyright Headers (#799)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-05-11 20:53:55 -07:00

23 lines
350 B
Go

// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: MPL-2.0
package kms_plugin_assets
import (
"io/fs"
"path"
"runtime"
)
const contentDir = "assets"
func FileSystem() fs.FS {
// Remove the root
dir := path.Join(contentDir, runtime.GOOS, runtime.GOARCH)
f, err := fs.Sub(content, dir)
if err != nil {
panic(err)
}
return f
}