Expand description
File-write helpers used by the marketplace install. Writes are
content-addressed (skip when bytes match) so re-running gw setup-claude is a true no-op when nothing changed.
Functionsยง
- sentinel_
present - write_
if_ changed - Write
contenttopath. If the file already exists with byte-identical content, do nothing. Returnstrueif a write actually occurred. Creates any missing parent directories. - write_
sentinel - Drop a sentinel marker that lets future
gw setup-clauderuns (and the legacy-cleanup step) recognize a directory we own.