mirror of
https://github.com/luxfi/vm.git
synced 2026-10-30 15:13:40 +00:00
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.
20 lines
482 B
Go
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
|
|
)
|