stores the object with current clipboard data
const buffer = $$("dm").getState().clipboard;
// or
const buffer = $$("dm").config.clipboard;
The object stores the current clipboard data being pasted. It contains an array of the file ID(s) and the mode for pasting ("cut", "copy" or "trashed". The third is used to restore files into a directory). The object has the following structure:
{
files: ["/meow.mp3"],
mode: "copy"
}