90 return strlen($this->contents);
105 return '"' . sha1($this->contents) .
'"';
An exception for terminatinating execution or to throw for unit testing.
getSize()
Returns the size of the file, in bytes.
__construct($name, $contents, $mimeType=null)
Creates this node.
getName()
Returns the node name for this file.
getETag()
Returns the ETag for a file.
getContentType()
Returns the mime-type for a file.