Skip to content

Commit

Permalink
feat: Remove repository size property (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
reobin authored Feb 22, 2025
1 parent 7157126 commit 303f766
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cli/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@ func getImportRepositoryObject(repository *gogithub.Repository) bson.M {
"description": repository.GetDescription(),
"githubURL": repository.GetHTMLURL(),
"githubCreatedAt": repository.GetCreatedAt().Time,
"size": repository.GetSize(),
}
}
1 change: 0 additions & 1 deletion internal/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ type Repository struct {
StargazersCount int `bson:"stargazersCount"`
StargazersCountHistory []StargazersCountHistoryItem `bson:"stargazersCountHistory"`
WeekStargazersCount int `bson:"weekStargazersCount"`
Size int `bson:"size"`
GithubCreatedAt time.Time `bson:"githubCreatedAt"`
GithubUpdatedAt time.Time `bson:"githubUpdatedAt"`
VimColorSchemes []VimColorScheme `bson:"vimColorSchemes,omitempty"`
Expand Down

0 comments on commit 303f766

Please sign in to comment.