Skip to main content
Module

x/dpp_vim/deps.ts>fn.getftime

Dark powered plugin manager for Vim/neovim
Latest
function fn.getftime
import { fn } from "https://deno.land/x/dpp_vim@v0.2.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<number>