git-annex/doc/todo/move_readonly_values_to_AnnexRead.mdwn
Joey Hess 8040ecf9b8
final readonly values moves to AnnexRead
At this point I've checked all AnnexState values and these were all that
remained that could move.

Pity that Annex.repo can't move, but it gets modified sometimes..

A couple of AnnexState values are set by options and could be AnnexRead,
but happen to use Annex when being set.

Sponsored-by: Max Thoursie on Patreon
2022-06-28 16:04:58 -04:00

8 lines
375 B
Markdown

AnnexRead has recently been split out of AnnexState,
and reading values from it is faster (no MVar). So,
anything that never needs to be modified while git-annex is running can be
moved to AnnexRead for a performance win and also to make clean how it's
used. --[[Joey]]
> [[done]]; all AnnexState fields have been checked and all that can be
> made readonly are. --[[Joey]]