mirror of https://github.com/calzoneman/sync.git
12 lines
257 B
JavaScript
12 lines
257 B
JavaScript
|
import { FileStore } from './filestore';
|
||
|
|
||
|
var CHANNEL_STORE = new FileStore();
|
||
|
|
||
|
export function load(channelName) {
|
||
|
return CHANNEL_STORE.load(channelName);
|
||
|
}
|
||
|
|
||
|
export function save(channelName, data) {
|
||
|
return CHANNEL_STORE.save(channelName, data);
|
||
|
}
|