'Given path, uid, gid and file mode, this returns a StatEntry.'

def CreateStat(self, path, uid=0, gid=0, mode=33184):

    pathspec = rdf_paths.PathSpec(path=path, pathtype='OS')
    return rdf_client.StatEntry(pathspec=pathspec, st_uid=uid, st_gid=gid, st_mode=mode)
