From 6445f6656567b25c20b38d528e6cadf18649ea84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sun, 16 Feb 2025 21:53:28 +0100 Subject: [PATCH] docs(state-coroutine): Add copyright headers --- .../src/commonMain/kotlin/Accumulators.kt | 16 ++++++++++++++++ .../src/commonMain/kotlin/CaptureProgress.kt | 16 ++++++++++++++++ .../src/commonMain/kotlin/ProgressiveFlow.kt | 16 ++++++++++++++++ .../src/commonTest/kotlin/AccumulatorsTest.kt | 16 ++++++++++++++++ .../src/commonTest/kotlin/CaptureProgressTest.kt | 16 ++++++++++++++++ .../kotlin/ProgressiveFlowAccessorsTest.kt | 16 ++++++++++++++++ 6 files changed, 96 insertions(+) diff --git a/state-coroutines/src/commonMain/kotlin/Accumulators.kt b/state-coroutines/src/commonMain/kotlin/Accumulators.kt index ae6b2f4..b38b748 100644 --- a/state-coroutines/src/commonMain/kotlin/Accumulators.kt +++ b/state-coroutines/src/commonMain/kotlin/Accumulators.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.flow.map diff --git a/state-coroutines/src/commonMain/kotlin/CaptureProgress.kt b/state-coroutines/src/commonMain/kotlin/CaptureProgress.kt index 428e92c..491761b 100644 --- a/state-coroutines/src/commonMain/kotlin/CaptureProgress.kt +++ b/state-coroutines/src/commonMain/kotlin/CaptureProgress.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.channels.ProducerScope diff --git a/state-coroutines/src/commonMain/kotlin/ProgressiveFlow.kt b/state-coroutines/src/commonMain/kotlin/ProgressiveFlow.kt index 7694da2..f2ce2dd 100644 --- a/state-coroutines/src/commonMain/kotlin/ProgressiveFlow.kt +++ b/state-coroutines/src/commonMain/kotlin/ProgressiveFlow.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.flow.* diff --git a/state-coroutines/src/commonTest/kotlin/AccumulatorsTest.kt b/state-coroutines/src/commonTest/kotlin/AccumulatorsTest.kt index 994d318..70259b0 100644 --- a/state-coroutines/src/commonTest/kotlin/AccumulatorsTest.kt +++ b/state-coroutines/src/commonTest/kotlin/AccumulatorsTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.flow.asFlow diff --git a/state-coroutines/src/commonTest/kotlin/CaptureProgressTest.kt b/state-coroutines/src/commonTest/kotlin/CaptureProgressTest.kt index 82c6d7e..2070471 100644 --- a/state-coroutines/src/commonTest/kotlin/CaptureProgressTest.kt +++ b/state-coroutines/src/commonTest/kotlin/CaptureProgressTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.flow.flow diff --git a/state-coroutines/src/commonTest/kotlin/ProgressiveFlowAccessorsTest.kt b/state-coroutines/src/commonTest/kotlin/ProgressiveFlowAccessorsTest.kt index 5659e5a..f64ca09 100644 --- a/state-coroutines/src/commonTest/kotlin/ProgressiveFlowAccessorsTest.kt +++ b/state-coroutines/src/commonTest/kotlin/ProgressiveFlowAccessorsTest.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023-2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package opensavvy.state.coroutines import kotlinx.coroutines.flow.flowOf -- 2.51.2