[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7 Internals


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.1 Application and Sync State database: state.json

The profile database, and sync state is stored in a file called state.json, which is stored in ~/.asynk/ root directory of the application. This file does not exist in the distribution, but is created the very first time you run ASynK, from a file called state.init.json in the root of the ASynK source directory.

Note for older ASynK users: Before v0.3.0 ASynK could only be executed from the root directory of ASynK source, and the configuration files (state.json and config.json) were read and written there itself. Starting with v0.3.0 ASynK can be invoked from any directory, and it will start using ~/.asynk/ to read and write the configuration files.

If you have been using ASynK before v0.3.0 and have a state.json with your sync profiles and other configurations in the ASynK source directory, you can migrate easily by just running ASynK from its root directory once - ASynK will identify that you have some state and config changes, and will copy your versions to ~/.asynk/ so they are now available for subsequent runs from anywhere. Note, however, tha once copied to ~/.asynk/ only the versions present there will be read and written. Any changes you make to files elsewhere will not be noticed.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.2 Software Architecture

More to come here


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated on November 10, 2017 using texi2html 5.0.