Pipeline.Test.Mocks.FileMock (pipeline v0.0.1)

View Source

Mock implementation of file system operations for testing.

Summary

Functions

Get current mock file system state

Reset the mock file system state (useful for tests)

Set a file in the mock file system

Functions

get_state()

Get current mock file system state

reset()

Reset the mock file system state (useful for tests)

set_file(path, content)

Set a file in the mock file system