Skip to main content

Module writeback

Module writeback 

Source

Structs§

PendingId
A generated ID that needs to be written back to a source file.

Enums§

WriteBackKind
The type of write-back insertion.

Functions§

apply_writebacks
Apply pending ID write-backs to a file’s content.
find_front_matter_end
Find the line number of the closing --- in YAML front matter. Returns None if the file has no front matter or the closing delimiter is not found.
write_file
Write modified content back to the file at path.