import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { getfsize } = fn;
The result is a Number, which is the size in bytes of the given file {fname}. If {fname} is a directory, 0 is returned. If the file {fname} can't be found, -1 is returned. If the size of {fname} is too big to fit in a Number then -2 is returned.
Can also be used as a method
:
GetFilename()->getfsize()
Parameters
denops: Denops