Store* Store::open(const std::string &path){ if(!file_exists(path)){ mkdir(path.c_str(), 0744); } Store *ret = new Store(); ret->_path = path; ret->load_file_seqs(); return ret; }