From f3da73553c45f17e04b1e77cb13eb0fca714d1bd Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 30 May 2025 20:47:56 -0400 Subject: sync --- js/src/tool/util/file-times.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 js/src/tool/util/file-times.ts (limited to 'js/src/tool/util') diff --git a/js/src/tool/util/file-times.ts b/js/src/tool/util/file-times.ts deleted file mode 100644 index 8d36d007d..000000000 --- a/js/src/tool/util/file-times.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { App } from "../../app/app"; - -export namespace FileTimes { - export const state = App.state("tool.filetimes", () => ({ - read: new Map(), - write: new Map(), - })); - - export function read(filePath: string) { - state().read.set(filePath, new Date()); - } - - export function write(filePath: string) { - state().write.set(filePath, new Date()); - } - - export function get(filePath: string): Date | null { - return state().read.get(filePath) || null; - } -} -- cgit v1.2.3