From 70d69bbbe53a685ba799e96d81ef5cf147feb337 Mon Sep 17 00:00:00 2001
From: James Prevett <jp@jamespre.dev>
Date: Thu, 10 Oct 2024 11:12:30 -0500
Subject: [PATCH] Renamed internal backend types

---
 src/backends/fetch.ts   | 4 ++--
 src/backends/memory.ts  | 4 ++--
 src/backends/overlay.ts | 4 ++--
 src/backends/port/fs.ts | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/backends/fetch.ts b/src/backends/fetch.ts
index 2aa2f71de..e47e6204d 100644
--- a/src/backends/fetch.ts
+++ b/src/backends/fetch.ts
@@ -175,7 +175,7 @@ const _Fetch = {
 		return new FetchFS(options);
 	},
 } as const satisfies Backend<FetchFS, FetchOptions>;
-type _fetch = typeof _Fetch;
+type _Fetch = typeof _Fetch;
 // eslint-disable-next-line @typescript-eslint/no-empty-object-type
-interface Fetch extends _fetch {}
+interface Fetch extends _Fetch {}
 export const Fetch: Fetch = _Fetch;
diff --git a/src/backends/memory.ts b/src/backends/memory.ts
index 53ba46092..ad0250904 100644
--- a/src/backends/memory.ts
+++ b/src/backends/memory.ts
@@ -44,7 +44,7 @@ const _InMemory = {
 		return fs;
 	},
 } as const satisfies Backend<StoreFS<InMemoryStore>, { name?: string }>;
-type _inmemory = typeof _InMemory;
+type _InMemory = typeof _InMemory;
 // eslint-disable-next-line @typescript-eslint/no-empty-object-type
-interface InMemory extends _inmemory {}
+interface InMemory extends _InMemory {}
 export const InMemory: InMemory = _InMemory;
diff --git a/src/backends/overlay.ts b/src/backends/overlay.ts
index 304111add..617c29161 100644
--- a/src/backends/overlay.ts
+++ b/src/backends/overlay.ts
@@ -553,7 +553,7 @@ const _Overlay = {
 		return new OverlayFS(options);
 	},
 } as const satisfies Backend<OverlayFS, OverlayOptions>;
-type _overlay = typeof _Overlay;
+type _Overlay = typeof _Overlay;
 // eslint-disable-next-line @typescript-eslint/no-empty-object-type
-interface Overlay extends _overlay {}
+interface Overlay extends _Overlay {}
 export const Overlay: Overlay = _Overlay;
diff --git a/src/backends/port/fs.ts b/src/backends/port/fs.ts
index 9fcc1d773..f559affd0 100644
--- a/src/backends/port/fs.ts
+++ b/src/backends/port/fs.ts
@@ -323,9 +323,9 @@ const _Port = {
 		return new PortFS(options);
 	},
 } satisfies Backend<PortFS, RPC.Options>;
-type _port = typeof _Port;
+type _Port = typeof _Port;
 // eslint-disable-next-line @typescript-eslint/no-empty-object-type
-interface Port extends _port {}
+interface Port extends _Port {}
 export const Port: Port = _Port;
 
 export async function resolveRemoteMount<T extends Backend>(port: RPC.Port, config: MountConfiguration<T>, _depth = 0): Promise<FilesystemOf<T>> {