winerr

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package winerr classifies the Windows file errors that mean another process is momentarily holding the file, rather than that the operation is impossible.

It is its own package because two unrelated callers need the same answer: cclink retries a rename that hit one of these, and `daemon logs --follow` waits for its next poll rather than ending. Keeping one copy of the errno set is the point -- two copies drift, and the second one is always the one nobody remembers to widen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retryable

func Retryable(error) bool

Retryable reports whether a failed file operation is worth trying again. The conditions it names have no Unix counterpart -- a rename within a directory does not fail for transient reasons, and an open does not fail because another process happens to have the file open -- so off Windows it never is.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL