上次编辑到这里,代码来自缓存 点击恢复默认模板
class FileSystem {
public:
FileSystem() {
}
vector<string> ls(string path) {
}
void mkdir(string path) {
}
void addContentToFile(string filePath, string content) {
}
string readContentFromFile(string filePath) {
}
};
/**
* Your FileSystem object will be instantiated and called as such:
* FileSystem* obj = new FileSystem();
* vector<string> param_1 = obj->ls(path);
* obj->mkdir(path);
* obj->addContentToFile(filePath,content);
* string param_4 = obj->readContentFromFile(filePath);
*/