Skip to main content

$stat

This function retrieves information about the specified file or directory using fs.promises.stat.

Parameters

ParameterDescription
pathPath to the file or directory to get information about.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$stat[path/to/file_or_directory]
`,
});