#include "shell.hpp" void shell::c_touch (std::string args) { if ( cwd_.exists (args) ) { // nothing to do return; } #ifndef SAGA_APPLE // touch (== create) saga::name_space::entry e = cwd_.open (args, saga::name_space::Create); #else // MacOS can only handle file systems at the moment... saga::filesystem::directory d(cwd_.get_url()); saga::filesystem::file f = d.open(args, saga::filesystem::Create); #endif return; }