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