diff --git a/cmake/Sources.json b/cmake/Sources.json index 352af086cb..170e764e27 100644 --- a/cmake/Sources.json +++ b/cmake/Sources.json @@ -79,6 +79,7 @@ "src/buntime/core/*.cpp", "src/buntime/web/fetch/*.cpp", "src/buntime/web/url/*.cpp", + "src/buntime/web/blob/*.cpp", "src/bake/*.cpp", "src/deps/*.cpp", "src/vm/*.cpp", diff --git a/cmake/targets/BuildBun.cmake b/cmake/targets/BuildBun.cmake index e4b5d13ee2..1faee9141c 100644 --- a/cmake/targets/BuildBun.cmake +++ b/cmake/targets/BuildBun.cmake @@ -891,6 +891,7 @@ target_include_directories(${bun} PRIVATE ${CWD}/src/buntime/core ${CWD}/src/buntime/web/fetch ${CWD}/src/buntime/web/url + ${CWD}/src/buntime/web/blob ${CWD}/src/buntime/modules ${CWD}/src/js/builtins ${CWD}/src/napi diff --git a/src/buntime/jsc.zig b/src/buntime/jsc.zig index 93a591d01d..390700ead8 100644 --- a/src/buntime/jsc.zig +++ b/src/buntime/jsc.zig @@ -49,7 +49,7 @@ pub const CallFrame = @import("./bindings/CallFrame.zig").CallFrame; pub const CommonAbortReason = @import("./bindings/CommonAbortReason.zig").CommonAbortReason; pub const CommonStrings = @import("./bindings/CommonStrings.zig").CommonStrings; pub const CustomGetterSetter = @import("./bindings/CustomGetterSetter.zig").CustomGetterSetter; -pub const DOMFormData = @import("./bindings/DOMFormData.zig").DOMFormData; +pub const DOMFormData = @import("./web/blob/DOMFormData.zig").DOMFormData; pub const DOMURL = @import("./web/url/DOMURL.zig").DOMURL; pub const DecodedJSValue = @import("./bindings/DecodedJSValue.zig").DecodedJSValue; pub const DeferredError = @import("./api/error/DeferredError.zig").DeferredError; diff --git a/src/buntime/bindings/DOMFormData.cpp b/src/buntime/web/blob/DOMFormData.cpp similarity index 100% rename from src/buntime/bindings/DOMFormData.cpp rename to src/buntime/web/blob/DOMFormData.cpp diff --git a/src/buntime/bindings/DOMFormData.h b/src/buntime/web/blob/DOMFormData.h similarity index 100% rename from src/buntime/bindings/DOMFormData.h rename to src/buntime/web/blob/DOMFormData.h diff --git a/src/buntime/bindings/DOMFormData.zig b/src/buntime/web/blob/DOMFormData.zig similarity index 100% rename from src/buntime/bindings/DOMFormData.zig rename to src/buntime/web/blob/DOMFormData.zig diff --git a/src/buntime/bindings/JSDOMFile.cpp b/src/buntime/web/blob/JSDOMFile.cpp similarity index 100% rename from src/buntime/bindings/JSDOMFile.cpp rename to src/buntime/web/blob/JSDOMFile.cpp diff --git a/src/buntime/bindings/JSDOMFile.h b/src/buntime/web/blob/JSDOMFile.h similarity index 100% rename from src/buntime/bindings/JSDOMFile.h rename to src/buntime/web/blob/JSDOMFile.h diff --git a/src/buntime/webcore/JSDOMFormData.cpp b/src/buntime/web/blob/JSDOMFormData.cpp similarity index 100% rename from src/buntime/webcore/JSDOMFormData.cpp rename to src/buntime/web/blob/JSDOMFormData.cpp diff --git a/src/buntime/webcore/JSDOMFormData.h b/src/buntime/web/blob/JSDOMFormData.h similarity index 100% rename from src/buntime/webcore/JSDOMFormData.h rename to src/buntime/web/blob/JSDOMFormData.h diff --git a/src/buntime/bindings/blob.cpp b/src/buntime/web/blob/blob.cpp similarity index 100% rename from src/buntime/bindings/blob.cpp rename to src/buntime/web/blob/blob.cpp diff --git a/src/buntime/bindings/blob.h b/src/buntime/web/blob/blob.h similarity index 100% rename from src/buntime/bindings/blob.h rename to src/buntime/web/blob/blob.h