Update GoDoc for ioutils (AtomicWriteFile) to document expected behavior #47516
Labels
exp/beginner
exp/intermediate
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
Description
The
ioutils
utilities have different semantics than Go stdlib file utilities; unlike stdlib, these functions do not depend on the active umask. We should update their GoDoc to document the behavior, so that consumers are aware of their semantics.Alternatively, we can change their behavior to take
umassk
into account, but this would be a breaking change, so not sure if we want to go that direction.The text was updated successfully, but these errors were encountered: