File: format.go

package info (click to toggle)
golang-gopkg-freddierice-go-losetup.v1 0.0~git20170407.fc9adea-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 80 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package losetup

import "fmt"

// DeviceFormatString holds the format of loopback devices
const DeviceFormatString = "/dev/loop%d"

// String implements the Stringer interface for Device
func (device Device) String() string {
	return device.Path()
}

// String implements the Stringer interface for Info
func (info Info) String() string {
	return fmt.Sprintf("")
}