Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TempDirInMemory ¶
TempDirInMemory creates a temporary directory that preferentially uses in-memory filesystems (tmpfs/ramdisk) when available. This reduces I/O overhead for git-heavy tests.
On Linux: Uses /dev/shm if available (tmpfs ramdisk) On macOS: Falls back to standard temp (ramdisks require manual setup) On Windows: Falls back to standard temp
The directory is automatically cleaned up when the test ends.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.