chore(ui): keep directory availability type module-private
The availability union is only used by the OpenCode client probe. Co-authored-by: serkraser <serkraser@gmail.com>
This commit is contained in:
co-authored by
serkraser
parent
9090733908
commit
7db8b2c463
@@ -68,7 +68,7 @@ type SdkResult<T> = {
|
|||||||
response?: { status?: number };
|
response?: { status?: number };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DirectoryAvailability = "available" | "missing" | "unknown";
|
type DirectoryAvailability = "available" | "missing" | "unknown";
|
||||||
|
|
||||||
const isMissingDirectoryError = (error: unknown): boolean => {
|
const isMissingDirectoryError = (error: unknown): boolean => {
|
||||||
if (error instanceof FilesystemError) {
|
if (error instanceof FilesystemError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user