apocas/docker-modem — pull request #16 by thlorenz (2014-03-17 16:46:27+00:00)
Title: simplifying path vs. stream detection

This PR is a much simpler alternative to https://github.com/apocas/docker-modem/pull/15 with the same (and arguably even more reliable result).

- simpler to detect string
- if string we assume it is a path to a file
- if not string we assume it is a stream since that is the only other option