package chezmoitest

var (
	// umaskStr is the umask used in tests represented as a string so it can be
	// set with the
	//   -ldflags="-X chezmoi.io/chezmoi/internal/chezmoitest.umaskStr=..."
	// option to go build and go test.
	umaskStr = "0"

	// Umask is the umask used in tests.
	//
	// On Windows, Umask is zero as Windows does not use POSIX-style permissions.
	Umask = mustParseFileMode(umaskStr)
)
