Skip to content

Commit 4c5d3c9

Browse files
committed
fully remove CloneUrls
1 parent 7fe128b commit 4c5d3c9

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

lib/src/common/model/repos.dart

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -181,37 +181,6 @@ class Repository {
181181
String toString() => 'Repository: ${owner.login}/$name';
182182
}
183183

184-
/// Repository Clone Urls
185-
@Deprecated('These URLs are available on the Repository class')
186-
@JsonSerializable()
187-
class CloneUrls {
188-
/// Git Protocol
189-
///
190-
/// git://github.com/user/repo.git
191-
final String git;
192-
193-
/// SSH Protocol
194-
///
195-
/// [email protected]:user/repo.git
196-
final String ssh;
197-
198-
/// HTTPS Protocol
199-
///
200-
/// https://github.com/user/repo.git
201-
final String https;
202-
203-
/// Subversion Protocol
204-
///
205-
/// https://github.com/user/repo
206-
final String svn;
207-
208-
CloneUrls(this.git, this.ssh, this.https, this.svn);
209-
210-
factory CloneUrls.fromJson(Map<String, dynamic> input) =>
211-
_$CloneUrlsFromJson(input);
212-
Map<String, dynamic> toJson() => _$CloneUrlsToJson(this);
213-
}
214-
215184
@JsonSerializable(createToJson: false)
216185
class Tag {
217186
final String name;

lib/src/common/model/repos.g.dart

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)