We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 001bb66 commit 30ab35fCopy full SHA for 30ab35f
1 file changed
rockridge.go
@@ -41,6 +41,8 @@ func (s SystemUseEntrySlice) GetRockRidgeName() string {
41
var name string
42
43
for _, entry := range s {
44
+ // There is a continuation flag in the record, but we determine continuation
45
+ // by simply reading all NM entries.
46
if entry.Type() == "NM" {
47
nm := umarshalRockRidgeNameEntry(entry)
48
name += nm.Name
@@ -51,9 +53,6 @@ func (s SystemUseEntrySlice) GetRockRidgeName() string {
51
53
}
52
54
55
func umarshalRockRidgeNameEntry(e SystemUseEntry) *RockRidgeNameEntry {
- // There is a continuation flag in byte 0, but we determine continuation
- // by simply reading all entries.
56
-
57
return &RockRidgeNameEntry{
58
Flags: e.Data()[0],
59
Name: string(e.Data()[1:]),
0 commit comments