feat/reposize #56

Merged
张泊明518370910136 merged 8 commits from feat/reposize into master 2024-10-12 18:30:55 +08:00
Showing only changes of commit acc0ccf88c - Show all commits

View File

@ -34,7 +34,7 @@ func RepoSize(confSize float64) error {
}
}
if sum > int(confSize*1024) {
return fmt.Errorf("Repository larger than %.1f Mib. Please clean up or contact the teaching team.", confSize)
return fmt.Errorf("Repository larger than %.1f MiB. Please clean up or contact the teaching team.", confSize)
zzjc123 marked this conversation as resolved Outdated

We should use %.1f Mib here for clearance.

We should use `%.1f Mib` here for clearance.
}
return nil
}