Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Commit 670c9af

Browse files
committed
improve filesystem2
1 parent 7cd7045 commit 670c9af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Filesystem2.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22

3+
34
#include <map>
45
#include <list>
56
#include <string>
@@ -23,6 +24,7 @@ class Filesystem {
2324
static bool exists(std::string path);
2425
};
2526

27+
2628
class FilesystemClient:Filesystem {
2729
private:
2830
std::unordered_map <std::string, std::shared_ptr<File>> files;
@@ -48,6 +50,7 @@ class FilesystemClient:Filesystem {
4850
std::string folderToString();
4951
};
5052

53+
5154
class FilesystemServer:Filesystem {
5255
private:
5356
std::string path = "";

0 commit comments

Comments
 (0)