From 9027e619873c2ab23beb101618ab0cd73f4fcc67 Mon Sep 17 00:00:00 2001 From: ZXED Date: Sun, 16 Jun 2024 14:01:03 +0300 Subject: [PATCH] Cosmetic fix --- lib/content_source/github_releases.dart | 2 +- lib/content_source/markdown.dart | 2 +- lib/content_source/pub_dev_releases.dart | 2 +- lib/package_managers/cargo.dart | 2 +- lib/package_managers/composer.dart | 2 +- lib/package_managers/pub.dart | 2 +- lib/package_managers/yarn.dart | 2 +- lib/sites/github.dart | 2 +- lib/{common => util}/downloader.dart | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename lib/{common => util}/downloader.dart (100%) diff --git a/lib/content_source/github_releases.dart b/lib/content_source/github_releases.dart index 64ff5aa..2008ae2 100644 --- a/lib/content_source/github_releases.dart +++ b/lib/content_source/github_releases.dart @@ -3,8 +3,8 @@ import 'package:flutter/material.dart'; import '../common/content.dart'; -import '../common/downloader.dart'; import '../content_widgets/content_html.dart'; +import '../util/downloader.dart'; class GitHubReleasesContentSource extends ContentSource { GitHubReleasesContentSource({ diff --git a/lib/content_source/markdown.dart b/lib/content_source/markdown.dart index 1601f50..fa2325b 100644 --- a/lib/content_source/markdown.dart +++ b/lib/content_source/markdown.dart @@ -5,8 +5,8 @@ import 'package:flutter/material.dart'; import 'package:path/path.dart' as path; import '../common/content.dart'; -import '../common/downloader.dart'; import '../content_widgets/content_markdown.dart'; +import '../util/downloader.dart'; class Markdown extends ContentSource { Markdown({ diff --git a/lib/content_source/pub_dev_releases.dart b/lib/content_source/pub_dev_releases.dart index 7e8d703..70fd530 100644 --- a/lib/content_source/pub_dev_releases.dart +++ b/lib/content_source/pub_dev_releases.dart @@ -3,8 +3,8 @@ import 'package:flutter/material.dart'; import '../common/content.dart'; -import '../common/downloader.dart'; import '../content_widgets/content_html.dart'; +import '../util/downloader.dart'; class PubDevReleasesContentSource extends ContentSource { PubDevReleasesContentSource({ diff --git a/lib/package_managers/cargo.dart b/lib/package_managers/cargo.dart index b4a2abe..c9f5952 100644 --- a/lib/package_managers/cargo.dart +++ b/lib/package_managers/cargo.dart @@ -4,9 +4,9 @@ import 'package:collection/collection.dart'; import 'package:pub_semver/pub_semver.dart'; import 'package:toml/toml.dart'; -import '../common/downloader.dart'; import '../common/package.dart'; import '../common/package_manager.dart'; +import '../util/downloader.dart'; import '../util/logger.dart'; class CargoPackage extends Package { diff --git a/lib/package_managers/composer.dart b/lib/package_managers/composer.dart index c08d3b7..a6df31a 100644 --- a/lib/package_managers/composer.dart +++ b/lib/package_managers/composer.dart @@ -5,9 +5,9 @@ import 'dart:convert'; import 'package:collection/collection.dart'; import 'package:pub_semver/pub_semver.dart'; -import '../common/downloader.dart'; import '../common/package.dart'; import '../common/package_manager.dart'; +import '../util/downloader.dart'; import '../util/logger.dart'; class ComposerPackage extends Package { diff --git a/lib/package_managers/pub.dart b/lib/package_managers/pub.dart index 585c03d..5b482b8 100644 --- a/lib/package_managers/pub.dart +++ b/lib/package_managers/pub.dart @@ -4,9 +4,9 @@ import 'package:collection/collection.dart'; import 'package:pub_semver/pub_semver.dart'; import 'package:yaml/yaml.dart'; -import '../common/downloader.dart'; import '../common/package.dart'; import '../common/package_manager.dart'; +import '../util/downloader.dart'; import '../util/logger.dart'; class PubLockEntry extends LockEntry { diff --git a/lib/package_managers/yarn.dart b/lib/package_managers/yarn.dart index 42f123c..dda8fb5 100644 --- a/lib/package_managers/yarn.dart +++ b/lib/package_managers/yarn.dart @@ -5,9 +5,9 @@ import 'dart:convert'; import 'package:collection/collection.dart'; import 'package:pub_semver/pub_semver.dart'; -import '../common/downloader.dart'; import '../common/package.dart'; import '../common/package_manager.dart'; +import '../util/downloader.dart'; import '../util/logger.dart'; class YarnPackage extends Package { diff --git a/lib/sites/github.dart b/lib/sites/github.dart index 431309d..e69b460 100644 --- a/lib/sites/github.dart +++ b/lib/sites/github.dart @@ -7,9 +7,9 @@ import 'package:path/path.dart'; import '../common/changelog.dart'; import '../common/content.dart'; -import '../common/downloader.dart'; import '../common/site.dart'; import '../content_source/github_releases.dart'; +import '../util/downloader.dart'; import '../util/logger.dart'; class GitHubPageMeta { diff --git a/lib/common/downloader.dart b/lib/util/downloader.dart similarity index 100% rename from lib/common/downloader.dart rename to lib/util/downloader.dart