Ejemplo n.º 1
0
   virtual void createDir(StrLen dir_name)
    {
     char buf[MaxPathLen+1];

     StrLen path=fs.pathOf(dir_name,buf);

     WalkPath(path, [this] (StrLen dir)
                           {
                            if( fs.getFileType(dir)==FileType_none )
                              {
                               fs.createDir(dir);
                              }

                           } );
    }
Ejemplo n.º 2
0
 virtual FileType getFileType(StrLen path) { return fs.getFileType(path); }