diff options
Diffstat (limited to 'fs2')
3 files changed, 55 insertions, 4 deletions
diff --git a/fs2/src/main/scala/com/codiff/fairstream/fs2/conversions.scala b/fs2/src/main/scala/com/codiff/fairstream/fs2/conversions.scala index c100d64..3fd014c 100644 --- a/fs2/src/main/scala/com/codiff/fairstream/fs2/conversions.scala +++ b/fs2/src/main/scala/com/codiff/fairstream/fs2/conversions.scala @@ -1,7 +1,25 @@ +/* + * Copyright 2026 codiff + * + * 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 com.codiff.fairstream package fs2 -import _root_.fs2.{Pull, Pure, Stream} +import _root_.fs2.Pull +import _root_.fs2.Pure +import _root_.fs2.Stream object conversions { diff --git a/fs2/src/main/scala/com/codiff/fairstream/fs2/syntax.scala b/fs2/src/main/scala/com/codiff/fairstream/fs2/syntax.scala index b44fab7..d0d8b04 100644 --- a/fs2/src/main/scala/com/codiff/fairstream/fs2/syntax.scala +++ b/fs2/src/main/scala/com/codiff/fairstream/fs2/syntax.scala @@ -1,7 +1,24 @@ +/* + * Copyright 2026 codiff + * + * 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 com.codiff.fairstream package fs2 -import _root_.fs2.{Pure, Stream} +import _root_.fs2.Pure +import _root_.fs2.Stream object syntax { diff --git a/fs2/src/test/scala/com/codiff/fairstream/fs2/FairFs2Suite.scala b/fs2/src/test/scala/com/codiff/fairstream/fs2/FairFs2Suite.scala index c7b9269..6b2270a 100644 --- a/fs2/src/test/scala/com/codiff/fairstream/fs2/FairFs2Suite.scala +++ b/fs2/src/test/scala/com/codiff/fairstream/fs2/FairFs2Suite.scala @@ -1,12 +1,28 @@ +/* + * Copyright 2026 codiff + * + * 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 com.codiff.fairstream package fs2 -import scala.concurrent.duration._ - import cats.effect.IO import cats.syntax.all._ import munit.CatsEffectSuite +import scala.concurrent.duration._ + import syntax._ class FairFs2Suite extends CatsEffectSuite { |
