Octokit v0.0.3 Octokit.Storage

Stores state information for Client sessions.

Summary

Functions

Gets the entire contents of the store

Gets the value for key in the store

Creates a new state store

Puts the contents of map into the store

Stores value for key

Functions

get(store)

Gets the entire contents of the store.

get(store, key)

Gets the value for key in the store.

new()

Creates a new state store.

put(store, map)

Puts the contents of map into the store.

If map has a value for a key that is already in the store, the new value in map will overwrite the one in the store.

put(store, key, value)

Stores value for key.

If key already exists in the store, its value will be overwritten with value.