Help us shape the future of Go! Take the 2026 Go Developer Survey

filemutation

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package filemutation verifies filesystem mutation attempts in contract tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rename

func Rename(t *testing.T, source, destination string) bool

Rename moves a test entry or verifies that the native filesystem prevents the move. A false result requires unchanged source identity, metadata, and an absent destination. Unexpected failures stop the test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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