github.com/go-git/gcfg/token.File.size (field)
11 uses
github.com/go-git/gcfg/token (current package)
position.go#L97: size int // file size as provided to AddFile
position.go#L116: return f.size
position.go#L133: if i := len(f.lines); (i == 0 || f.lines[i-1] < offset) && offset < f.size {
position.go#L149: size := f.size
position.go#L203: if i := len(f.infos); i == 0 || f.infos[i-1].Offset < offset && offset < f.size {
position.go#L214: if offset > f.size {
position.go#L225: if int(p) < f.base || int(p) > f.base+f.size {
position.go#L274: if int(p) < f.base || int(p) > f.base+f.size {
position.go#L371: if f := s.last; f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
position.go#L378: if int(p) <= f.base+f.size {
serialize.go#L50: files[i] = serializedFile{f.name, f.base, f.size, f.lines, f.infos}
![]() |
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. |