sync/src/channel-storage/channelstore.js

12 lines
259 B
JavaScript
Raw Normal View History

2015-09-20 23:17:06 -07:00
import { FileStore } from './filestore';
const CHANNEL_STORE = new FileStore();
2015-09-20 23:17:06 -07:00
export function load(channelName) {
return CHANNEL_STORE.load(channelName);
}
export function save(channelName, data) {
return CHANNEL_STORE.save(channelName, data);
}