1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/container
Brian Goff 6380e3d939 Refactor attaches copyEscapable
`copyEscapable` is a copy/paste of io.Copy with some added handling for
checking for the attach escape sequence.

This removes the copy/paste and uses `io.Copy` directly. To be able to
do this, it now implements an `io.Reader` which proxies to the main
reader but looks for the escape sequence.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-01-23 09:09:59 -05:00
..
stream Refactor attaches copyEscapable 2017-01-23 09:09:59 -05:00
archive.go
container.go Move attach code to stream package 2017-01-23 09:09:57 -05:00
container_linux.go
container_notlinux.go
container_unit_test.go
container_unix.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
container_windows.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env_test.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
health.go
history.go
memory_store.go
memory_store_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
monitor.go
mounts_unix.go
mounts_windows.go
state.go
state_solaris.go
state_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
state_unix.go
state_windows.go
store.go