File: common.go

package info (click to toggle)
golang-github-go-git-go-git 5.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,072 kB
  • sloc: sh: 61; makefile: 29
file content (12 lines) | stat: -rw-r--r-- 133 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
package object

import (
	"bufio"
	"sync"
)

var bufPool = sync.Pool{
	New: func() interface{} {
		return bufio.NewReader(nil)
	},
}