client/src/unifycr.c
int unifycr_fid_is_dir(int fid)
{
   unifycr_filemeta_t* meta = unifycr_get_meta_from_fid(fid);
   if (meta) {
     /* found a file with that id, return value of directory flag */
     int rc = meta->is_dir;
     return rc;
   } else {
     /* if it doesn't exist, then it's not a directory? */
     return 0;
   }
}
/* checks to see if fid is a directory
 * returns 1 for yes
 * returns 0 for no */
checks to see if fid is a directory
returns 1 for yes
returns 0 for no
checks to see if fid is a directory returns 1 for yes returns 0 for no
int unifycr_fid_is_dir(int fid)
{
   unifycr_filemeta_t* meta = unifycr_get_meta_from_fid(fid);
   if (meta) {
     int rc = meta->is_dir;
     return rc;
   } else {
     return 0;
   }
}
int unifycr_fid_is_dir ( int fid ) { unifycr_filemeta_t * meta = unifycr_get_meta_from_fid ( fid ) ; if ( meta ) { int rc = meta -> is_dir ; return rc ; } else { return 0 ; } }
checks to see if fid is a directory
 returns 1 for yes
 returns 0 for no
checks to see if fid is a directory returns 1 for yes returns 0 for no
/* found a file with that id, return value of directory flag */ /* if it doesn't exist, then it's not a directory? */