Source File
serialize.go
Belonging Package
github.com/go-git/gcfg/token
package token
func ( *FileSet) ( func(interface{}) error) error {
var serializedFileSet
if := (&); != nil {
return
}
.mutex.Lock()
.base = .Base
:= make([]*File, len(.Files))
for := 0; < len(.Files); ++ {
:= &.Files[]
[] = &File{, .Name, .Base, .Size, .Lines, .Infos}
}
.files =
.last = nil
.mutex.Unlock()
return nil
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |