Skip to main content
Module

x/ddc_vim/deps.ts>fn.getftime

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.getftime
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { getftime } = fn;

The result is a Number, which is the last modification time of the given file {fname}. The value is measured as seconds since 1st Jan 1970, and may be passed to strftime(). See also |localtime()| and |strftime()|. If the file {fname} can't be found -1 is returned. Can also be used as a |method|: GetFilename()->getftime()

Parameters

denops: Denops
fname: unknown

Returns

Promise<unknown>