#include <cstdlib>
#include <msp/core/except.h>
+#include <msp/fs/stat.h>
+#include <msp/fs/utils.h>
#include <msp/io/except.h>
#include <msp/io/file.h>
#include <msp/io/print.h>
-#include <msp/path/utils.h>
#include <msp/time/utils.h>
#include "builder.h"
#include "config.h"
void Config::save() const
{
- Path fn=package.get_source()/".options.cache";
+ FS::Path fn=package.get_source()/".options.cache";
OptionMap::const_iterator i=options.find("profile");
if(i!=options.end())
void Config::load()
{
- Path fn=package.get_source()/".options.cache";
+ FS::Path fn=package.get_source()/".options.cache";
OptionMap::iterator i=options.find("profile");
if(i!=options.end())
IO::File inf(fn.str());
IO::Buffered in(inf);
- mtime=Time::TimeStamp::from_unixtime(stat(fn).st_mtime);
+ mtime=Time::TimeStamp::from_unixtime(FS::stat(fn).st_mtime);
DataFile::Parser parser(in, fn.str());
Loader loader(*this);