Files
zeekay 16d9f92142 feat: add compatibility shims for old import paths
Add shim packages that re-export from new locations:
- vm/utils -> github.com/luxfi/utils
- vm/utils/wrappers -> github.com/luxfi/utils/wrappers
- vm/utils/perms -> github.com/luxfi/filesystem/perms
- vm/secp256k1fx -> github.com/luxfi/utxo/secp256k1fx
- vm/components/lux -> github.com/luxfi/utxo

This allows packages with old imports to continue working.
2026-01-26 08:35:00 -08:00

20 lines
482 B
Go

// Package perms provides compatibility with old import path.
// Deprecated: Use github.com/luxfi/filesystem/perms instead.
package perms
import "github.com/luxfi/filesystem/perms"
// Re-export constants from github.com/luxfi/filesystem/perms
const (
ReadOnly = perms.ReadOnly
ReadWrite = perms.ReadWrite
ReadWriteExecute = perms.ReadWriteExecute
)
// Re-export functions
var (
ChmodR = perms.ChmodR
Create = perms.Create
WriteFile = perms.WriteFile
)