assertRealPathContained(): Promise<boolean>
Asserts that a target path is contained within a root by comparing canonical paths.
This function uses the filesystem's realPath capability to resolve symlinks and compare canonical paths, preventing symlink-based traversal attacks.
fs: Pick<IFileSystem, "realPath" | "stat">
The filesystem to use for path resolution