Enhancement - Path integration
- Obsoleted util.cpp spit, slurp calls
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <unistd.h>
|
||||
#include <Context.h>
|
||||
#include <StringTable.h>
|
||||
#include <File.h>
|
||||
#include <util.h>
|
||||
#include <test.h>
|
||||
|
||||
@@ -39,7 +40,7 @@ int main (int argc, char** argv)
|
||||
|
||||
// Create a string file.
|
||||
std::string file = "./strings.xx-XX";
|
||||
spit (file, "# comment\n1 found");
|
||||
File::write (file, "# comment\n1 found");
|
||||
t.is (access (file.c_str (), F_OK), 0, "strings.xx-XX created.");
|
||||
|
||||
// Load the string file.
|
||||
|
||||
@@ -514,10 +514,6 @@ int main (int argc, char** argv)
|
||||
|
||||
// TODO const std::string uuid ();
|
||||
|
||||
// TODO bool slurp (const std::string&, std::vector <std::string>&, bool trimLines = false);
|
||||
// TODO bool slurp (const std::string&, std::string&, bool trimLines = false);
|
||||
// TODO void spit (const std::string&, const std::string&);
|
||||
|
||||
// std::string taskDiff (const Task&, const Task&);
|
||||
Task left;
|
||||
left.set ("zero", "0");
|
||||
|
||||
Reference in New Issue
Block a user