| 52 | } |
| 53 | |
| 54 | fs::path create_tree() |
| 55 | { |
| 56 | fs::path root_dir = fs::unique_path(); |
| 57 | |
| 58 | fs::create_directory(root_dir); |
| 59 | create_file(root_dir / "f1", "f1"); |
| 60 | create_file(root_dir / "f2", "f2"); |
| 61 | |
| 62 | fs::create_directory(root_dir / "d1"); |
| 63 | create_file(root_dir / "d1/f1", "d1f1"); |
| 64 | |
| 65 | fs::create_directory(root_dir / "d1/d1"); |
| 66 | create_file(root_dir / "d1/d1/f1", "d1d1f1"); |
| 67 | |
| 68 | fs::create_directory(root_dir / "d1/d2"); |
| 69 | |
| 70 | fs::create_directory(root_dir / "d2"); |
| 71 | create_file(root_dir / "d2/f1", "d2f1"); |
| 72 | |
| 73 | return root_dir; |
| 74 | } |
| 75 | |
| 76 | typedef std::set< fs::path > directory_tree; |
| 77 |
no test coverage detected