1
0
* Fix gist content when going back to editing

* Fix not outputting non-truncated large files for editon/zip download

* Allow dashes in usernames

* Delete keys associated to deleted user

* Fix error message when there is no files in gist

* Show if there is not files in gist preview

* Fix log parsing for the 11th empty commit
هذا الالتزام موجود في:
Thomas Miceli
2023-12-27 12:11:02 +01:00
الأصل 3828022a1c
التزام 3c97901995
13 ملفات معدلة مع 693 إضافات و238 حذوفات

عرض الملف

@@ -22,6 +22,12 @@ var (
const truncateLimit = 2 << 18
type RevisionNotFoundError struct{}
func (m *RevisionNotFoundError) Error() string {
return "revision not found"
}
func RepositoryPath(user string, gist string) string {
return filepath.Join(config.GetHomeDir(), ReposDirectory, strings.ToLower(user), gist)
}