tests

package
v0.38.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDirectoryPermissionsEqual

func AssertDirectoryPermissionsEqual(t *testing.T, path string, mode os.FileMode) bool

AssertDirectoryPermissionsEqual checks that all files in the specified path match the desired file mode. Uses a glob pattern to match.

func AssertFilePermissionsEqual

func AssertFilePermissionsEqual(t *testing.T, path string, want os.FileMode, got os.FileMode) bool

AssertFilePermissionsEqual checks that the file permission bits are equal for the specified file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL