Jonathan A. Sternberg 8fb1157b5f
vendor: github.com/moby/buildkit v0.21.0-rc1
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-04-09 10:28:03 -05:00
..
2024-10-23 18:23:14 +02:00
2024-10-23 18:23:14 +02:00
2024-10-23 18:23:14 +02:00
2024-10-23 18:23:14 +02:00
2024-10-23 18:23:14 +02:00

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"