Documentation
¶
Overview ¶
Package fsutil provides small filesystem helpers shared across packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenameWithRetry ¶
RenameWithRetry renames src to dst, retrying briefly on Windows when the destination is transiently locked (antivirus scanners, search indexers, or a concurrent reader holding the file open). rename overrides os.Rename so tests can exercise the retry path; pass nil to use os.Rename.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.