type MockPatch[Content ~string | ~[]byte] struct {
// contains filtered or unexported fields
}
MockPatch is a type that represents a collection of files with their
contents, used to apply these files to a specified root directory within the
filesystem. It supports both string and byte slice content types.
Apply writes the contents of the MockPatch to the specified root directory
using the provided context. It returns an error if any issues occur during
file creation or writing.