From 2351cfbec678b3b708db2121d218da00809f89f5 Mon Sep 17 00:00:00 2001 From: Craftplacer <22963120+Craftplacer@users.noreply.github.com> Date: Thu, 7 Nov 2024 01:36:36 +0100 Subject: [PATCH] Rename files --- packages/sane/lib/sane.dart | 4 ++-- packages/sane/lib/src/isolate_messages/cancel.dart | 2 +- .../sane/lib/src/isolate_messages/control_button_option.dart | 2 +- packages/sane/lib/src/isolate_messages/control_option.dart | 2 +- packages/sane/lib/src/isolate_messages/exit.dart | 2 +- .../lib/src/isolate_messages/get_all_option_descriptors.dart | 2 +- packages/sane/lib/src/isolate_messages/get_devices.dart | 2 +- .../sane/lib/src/isolate_messages/get_option_descriptor.dart | 2 +- packages/sane/lib/src/isolate_messages/get_parameters.dart | 2 +- packages/sane/lib/src/isolate_messages/init.dart | 2 +- packages/sane/lib/src/isolate_messages/interface.dart | 2 +- packages/sane/lib/src/isolate_messages/open.dart | 2 +- packages/sane/lib/src/isolate_messages/read.dart | 2 +- packages/sane/lib/src/isolate_messages/set_io_mode.dart | 2 +- packages/sane/lib/src/isolate_messages/start.dart | 2 +- packages/sane/lib/src/{sane_isolate.dart => sane_native.dart} | 0 packages/sane/lib/src/{sane.dart => sane_sync.dart} | 0 packages/sane/test/sane_test.dart | 2 +- 18 files changed, 17 insertions(+), 17 deletions(-) rename packages/sane/lib/src/{sane_isolate.dart => sane_native.dart} (100%) rename packages/sane/lib/src/{sane.dart => sane_sync.dart} (100%) diff --git a/packages/sane/lib/sane.dart b/packages/sane/lib/sane.dart index 7769469..5dcce32 100644 --- a/packages/sane/lib/sane.dart +++ b/packages/sane/lib/sane.dart @@ -1,8 +1,8 @@ library; export 'src/exceptions.dart'; -export 'src/sane.dart'; export 'src/sane_dev.dart'; -export 'src/sane_isolate.dart'; +export 'src/sane_native.dart'; +export 'src/sane_sync.dart'; export 'src/structures.dart'; export 'src/utils.dart'; diff --git a/packages/sane/lib/src/isolate_messages/cancel.dart b/packages/sane/lib/src/isolate_messages/cancel.dart index 4b5d65b..dbe9b3c 100644 --- a/packages/sane/lib/src/isolate_messages/cancel.dart +++ b/packages/sane/lib/src/isolate_messages/cancel.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class CancelMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/control_button_option.dart b/packages/sane/lib/src/isolate_messages/control_button_option.dart index 8176f48..ba7bb6a 100644 --- a/packages/sane/lib/src/isolate_messages/control_button_option.dart +++ b/packages/sane/lib/src/isolate_messages/control_button_option.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class ControlButtonOptionMessage diff --git a/packages/sane/lib/src/isolate_messages/control_option.dart b/packages/sane/lib/src/isolate_messages/control_option.dart index 99f6942..b184e31 100644 --- a/packages/sane/lib/src/isolate_messages/control_option.dart +++ b/packages/sane/lib/src/isolate_messages/control_option.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class ControlValueOptionMessage diff --git a/packages/sane/lib/src/isolate_messages/exit.dart b/packages/sane/lib/src/isolate_messages/exit.dart index 0e797e2..a9f4115 100644 --- a/packages/sane/lib/src/isolate_messages/exit.dart +++ b/packages/sane/lib/src/isolate_messages/exit.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; class ExitMessage implements IsolateMessage { @override diff --git a/packages/sane/lib/src/isolate_messages/get_all_option_descriptors.dart b/packages/sane/lib/src/isolate_messages/get_all_option_descriptors.dart index 8412f13..9d38540 100644 --- a/packages/sane/lib/src/isolate_messages/get_all_option_descriptors.dart +++ b/packages/sane/lib/src/isolate_messages/get_all_option_descriptors.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class GetAllOptionDescriptorsMessage diff --git a/packages/sane/lib/src/isolate_messages/get_devices.dart b/packages/sane/lib/src/isolate_messages/get_devices.dart index d54bf17..b71b278 100644 --- a/packages/sane/lib/src/isolate_messages/get_devices.dart +++ b/packages/sane/lib/src/isolate_messages/get_devices.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class GetDevicesMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/get_option_descriptor.dart b/packages/sane/lib/src/isolate_messages/get_option_descriptor.dart index ea02661..ce12306 100644 --- a/packages/sane/lib/src/isolate_messages/get_option_descriptor.dart +++ b/packages/sane/lib/src/isolate_messages/get_option_descriptor.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class GetOptionDescriptorMessage diff --git a/packages/sane/lib/src/isolate_messages/get_parameters.dart b/packages/sane/lib/src/isolate_messages/get_parameters.dart index f152386..73b6528 100644 --- a/packages/sane/lib/src/isolate_messages/get_parameters.dart +++ b/packages/sane/lib/src/isolate_messages/get_parameters.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class GetParametersMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/init.dart b/packages/sane/lib/src/isolate_messages/init.dart index df035db..b614a8e 100644 --- a/packages/sane/lib/src/isolate_messages/init.dart +++ b/packages/sane/lib/src/isolate_messages/init.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; class InitMessage implements IsolateMessage { @override diff --git a/packages/sane/lib/src/isolate_messages/interface.dart b/packages/sane/lib/src/isolate_messages/interface.dart index 2515622..cd01c9e 100644 --- a/packages/sane/lib/src/isolate_messages/interface.dart +++ b/packages/sane/lib/src/isolate_messages/interface.dart @@ -1,4 +1,4 @@ -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; abstract interface class IsolateMessage { Future handle(Sane sane); diff --git a/packages/sane/lib/src/isolate_messages/open.dart b/packages/sane/lib/src/isolate_messages/open.dart index 13ca782..1fa727e 100644 --- a/packages/sane/lib/src/isolate_messages/open.dart +++ b/packages/sane/lib/src/isolate_messages/open.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class OpenMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/read.dart b/packages/sane/lib/src/isolate_messages/read.dart index e9ad229..c424f06 100644 --- a/packages/sane/lib/src/isolate_messages/read.dart +++ b/packages/sane/lib/src/isolate_messages/read.dart @@ -1,7 +1,7 @@ import 'dart:typed_data'; import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class ReadMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/set_io_mode.dart b/packages/sane/lib/src/isolate_messages/set_io_mode.dart index 7478351..e8e2e27 100644 --- a/packages/sane/lib/src/isolate_messages/set_io_mode.dart +++ b/packages/sane/lib/src/isolate_messages/set_io_mode.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class SetIOModeMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/isolate_messages/start.dart b/packages/sane/lib/src/isolate_messages/start.dart index fe961b2..29e70c0 100644 --- a/packages/sane/lib/src/isolate_messages/start.dart +++ b/packages/sane/lib/src/isolate_messages/start.dart @@ -1,5 +1,5 @@ import 'package:sane/src/isolate_messages/interface.dart'; -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:sane/src/structures.dart'; class StartMessage implements IsolateMessage { diff --git a/packages/sane/lib/src/sane_isolate.dart b/packages/sane/lib/src/sane_native.dart similarity index 100% rename from packages/sane/lib/src/sane_isolate.dart rename to packages/sane/lib/src/sane_native.dart diff --git a/packages/sane/lib/src/sane.dart b/packages/sane/lib/src/sane_sync.dart similarity index 100% rename from packages/sane/lib/src/sane.dart rename to packages/sane/lib/src/sane_sync.dart diff --git a/packages/sane/test/sane_test.dart b/packages/sane/test/sane_test.dart index 0081b25..2d41dd4 100644 --- a/packages/sane/test/sane_test.dart +++ b/packages/sane/test/sane_test.dart @@ -1,4 +1,4 @@ -import 'package:sane/src/sane.dart'; +import 'package:sane/src/sane_sync.dart'; import 'package:test/test.dart'; void main() {