Files
buildx/vendor/github.com/tonistiigi/dchapes-mode/README.md
2024-10-23 18:23:14 +02:00

919 B

Mode

This is a fork of hg.sr.ht/~dchapes/mode with minimal patches and basic CI.

Mode is a Go package that provides a native Go implementation of BSD's setmode and getmode which can be used to modify the mode bits of an os.FileMode value based on a symbolic value as described by the Unix chmod command.

Go Reference

Online package documentation is available via pkg.go.dev.

To install:

	go get hg.sr.ht/~dchapes/mode

or go build any Go code that imports it:

	import "hg.sr.ht/~dchapes/mode"