def mk_dummy_inode(path, isdir=False): return { "node_path": path, "bytesize": osp.getsize(path), "mtime": osp.getmtime(path), "stat_result": dumps(stat(path), protocol=4), "md5": "directory" if isdir else "d41d8cd98f00b204e9800998ecf8427e", }