Skip to content

Commit

Permalink
Remove the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jafarlihi committed Nov 28, 2022
1 parent c404321 commit 5bfa3d3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@ type Feed struct {

var wg sync.WaitGroup
var isAllUpdate bool

/*
Based on the table in https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
the majority of filesystems have a limit of 255.
Some of them refer to "bytes" and others refer to "UTF-8 characters".
Ideally we'd like to take as much as that as possible but we run the risk of
truncating at a point which leaves us with an incomplete UTF8 code point
representation. Instead, we need a UTF8-safe truncate - we define that function below.
*/
const maxFileNameLength = 255

func truncateString(s string, n int) string {
Expand Down

0 comments on commit 5bfa3d3

Please sign in to comment.