function registerByCatvpath($category_row)
 {
     $cat_id = intval($category_row['cat_id']);
     $cat_vpath = str_replace('..', '', $category_row['cat_vpath']);
     $wrap_dir = $this->wrap_base . $cat_vpath;
     $affected_rows = 0;
     // trigger: mtime of the directory
     if (is_dir($wrap_dir) && filemtime($wrap_dir) > $category_row['cat_vpath_mtime']) {
         // do sync between the_category/contents and cat_vpath/files
         $affected_rows = $this->syncCatvpath($cat_id, $cat_vpath, $wrap_dir);
         // touch `cat_vpath_mtime`
         $categoryHandler = new PicoCategoryHandler($this->mydirname);
         $categoryHandler->touchVpathMtime($cat_id);
     }
     return $affected_rows;
 }