todod.storage

Undocumented in source.

Members

Functions

addStorageCommands
Commands!(State delegate(State, string)) addStorageCommands(Commands!(State delegate(State, string)) main, GitRepo gitRepo)

Add storage sub commands to the command list

commitChanges
void commitChanges(GitRepo gr, string fileName, string message)

Commit changes in the provided filename with the provided message

gitPull
void gitPull(GitRepo gr)
Undocumented in source. Be warned that the author may not have intended to support it.
gitPush
void gitPush(GitRepo gr)
Undocumented in source. Be warned that the author may not have intended to support it.
openRepo
GitRepo openRepo(string repoPath)

Open (or initializes when not exists) a repository in the given path

readFile
string readFile(string path, string name)

Read a whole file into a string

writeToFile
void writeToFile(string path, string name, string contents)

Write string contents to file at the given path

Structs

GitRepo
struct GitRepo

git repository

Meta