``` Struct NodeInfo { enum class Type { kDir, //! 目录 kFile, //! 普通文件 kElf, //! 可执行文件 kPipe, //! 管道文件 ... }; Type type; uint64_t create_time; uint64_t modify_time; }; bool ListDirectory(const std::string &dir_path, std::map<std::string, NodeInfo> &items); ```