refactor file name
Massimo Melina committed
Dec 16, 2023 at 22:39 UTC
624075fa0e573a8b25a4c74ae1ac5812a36d9fc1
3 files changed
+2
-2
src/api.get_file_list.ts
renamed
src/frontEndApis.ts
+1
-1
@@ -1,7 +1,7 @@
1
// This file is part of HFS - Copyright 2021-2023, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { ApiError, ApiHandlers, SendListReadable } from './apiMiddleware'
4
-import { get_file_list } from './api.file_list'
4
+import { get_file_list } from './api.get_file_list'
5
import * as api_auth from './api.auth'
6
import events from './events'
7
import Koa from 'koa'
src/plugins.ts
+1
-1
@@ -9,7 +9,7 @@ import Koa from 'koa'
9
import { adjustStaticPathForGlob, Callback, debounceAsync, Dict, getOrSet, onlyTruthy, onProcessExit,
10
PendingPromise, pendingPromise, same, tryJson, wait, waitFor, wantArray, watchDir } from './misc'
11
import { defineConfig, getConfig } from './config'
12
-import { DirEntry } from './api.file_list'
12
+import { DirEntry } from './api.get_file_list'
13
import { VfsNode } from './vfs'
14
import { serveFile } from './serveFile'
15
import events from './events'