-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from AsherGlick/abstract_file_iteration
Abstract File Iteration
- Loading branch information
Showing
4 changed files
with
122 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
#pragma once | ||
#include <string> | ||
#include <vector> | ||
|
||
class MarkerPackFile { | ||
public: | ||
MarkerPackFile(std::string base, std::string relative_filepath); | ||
|
||
const std::string tmp_get_path() const; | ||
|
||
std::string base; | ||
std::string relative_filepath; | ||
}; | ||
|
||
void copy_file(std::string path, std::string new_path); | ||
|
||
std::vector<MarkerPackFile> get_files_by_suffix(const std::string& base, const std::string& suffix); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters