mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
docs: Add missing docstrings, adjust wording to match standard style
This patch adds a missing docstrings for exported identifiers, and adjust some of the existing ones to match the standard style. In some cases, the identifiers were un-exported after noticing they had no external users. Besides improving documentation, it also reduces the linter noise significantly.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// Type FileOp represents an operation on a file (passed by its name).
|
||||
// FileOp represents an operation on a file (passed by its name).
|
||||
type FileOp func(fname string) error
|
||||
|
||||
// WriteFile writes data to a file named by filename, atomically.
|
||||
|
||||
Reference in New Issue
Block a user