notes_pipeline.stages.sync_settings
#
Synchronize settings across vaults if there are no pending changes.
Module Contents#
Classes#
Represents a git submodule. |
Functions#
Get pending changes. |
|
Get submodules. |
|
Copy settings from one vault to another. |
Data#
These files have CRLF line endings or some other issue that we can’t control. |
API#
- notes_pipeline.stages.sync_settings.app#
‘Typer(…)’
- notes_pipeline.stages.sync_settings.ALLOWED_CHANGES#
None
These files have CRLF line endings or some other issue that we can’t control.
- notes_pipeline.stages.sync_settings.main()#
- notes_pipeline.stages.sync_settings.get_changes() list[pathlib.Path] #
Get pending changes.
- class notes_pipeline.stages.sync_settings.Submodule#
Represents a git submodule.
- path: pathlib.Path#
‘Path(…)’
Submodule path.
- __post_init__()#
Handle byte strings reported by some submodule sources, like dulwich.
- notes_pipeline.stages.sync_settings.get_submodules() list[notes_pipeline.stages.sync_settings.Submodule] #
Get submodules.
- notes_pipeline.stages.sync_settings.copy_settings(
- settings: list[pathlib.Path],
- source_dir: pathlib.Path,
- dest_dir: pathlib.Path,
Copy settings from one vault to another.