路径(Short Syntax)
| 26 | |
| 27 | // 路径(Short Syntax) |
| 28 | type VolumeMapSimple struct { |
| 29 | Host string // 外部主机的路径 |
| 30 | Container string // 内部容器的路径 |
| 31 | Mode string // 权限 |
| 32 | } |
| 33 | |
| 34 | // 新建一个路径A到路径B的映射 |
| 35 | func NewVolumeMapSimple(hostVolumeMap string, containerVolumeMap string) VolumeMapSimple { |
nothing calls this directly
no outgoing calls
no test coverage detected