pub fn from_reader<R>(reader: R) -> Result<Dockerfile>
  where
    R: Read
  {
    let mut buf = String::new();
    let mut buf_reader = BufReader::new(reader);
    buf_reader.read_to_string(&mut buf).context(ReadError)?;

    Dockerfile::parse(&buf)
  }
/// Parses a Dockerfile from a reader.
Parses a Dockerfile from a reader.
Parses a Dockerfile from a reader .
pub fn from_reader<R>(reader: R) -> Result<Dockerfile>
  where
    R: Read
  {
    let mut buf = String::new();
    let mut buf_reader = BufReader::new(reader);
    buf_reader.read_to_string(&mut buf).context(ReadError)?;
    Dockerfile::parse(&buf)
  }
pub fn from_reader < R > ( reader : R ) -> Result < Dockerfile > where R : Read { let mut buf = String :: new ( ) ; let mut buf_reader = BufReader :: new ( reader ) ; buf_reader . read_to_string ( & mut buf ) . context ( ReadError ) ? ; Dockerfile :: parse ( & buf ) }
Parses a Dockerfile from a reader.
Parses a Dockerfile from a reader .
reader
R