plistsync.configΒΆ

Plistsync configuration management using YAML files.

We use the eyconf library to handle configuration loading and validation. For more information see EYConf.

OverviewΒΆ

ClassesΒΆ

Config

Plistsync configuration class.

Module ContentsΒΆ

class plistsync.config.ConfigΒΆ

Bases: eyconf.EYConf[ConfigSchema]

Plistsync configuration class.

This class is responsible for loading and validating the configuration. For more information see EYConf.

static get_dir() pathlib.PathΒΆ

Get the path to the config directory.

We check if the following folders exist to determine the config directory:

  1. PSYCNC_CONFIG_DIR environment variable

  2. OS-specific global config directory

static get_file() pathlib.PathΒΆ

Get the path to the config file.

static exists() boolΒΆ

Check if the config file exists.