Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

407 B
Raw Blame
export function pathStatFromStats(stat) {
    return {
        dev: Number(stat.dev),
        gid: Number(stat.gid),
        ino: Number(stat.ino),
        isDirectory: stat.isDirectory(),
        isFile: stat.isFile(),
        isSymbolicLink: stat.isSymbolicLink(),
        mode: stat.mode,
        mtimeMs: stat.mtimeMs,
        nlink: stat.nlink,
        size: stat.size,
        uid: stat.uid,
    };
}