File: pb_appengine.go

package info (click to toggle)
golang-gopkg-cheggaaa-pb.v1 1.0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, buster-backports, experimental, sid
  • size: 160 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
// +build appengine

package pb

import "errors"

// terminalWidth returns width of the terminal, which is not supported
// and should always failed on appengine classic which is a sandboxed PaaS.
func terminalWidth() (int, error) {
	return 0, errors.New("Not supported")
}