Ejemplo n.º 1
0
 /**
  * Creates a ETag for this path.
  * @param string $path Path of the file
  * @return string|null Returns null if the ETag can not effectively be determined
  */
 protected static function createETag($path)
 {
     return OC_Filesystem::hash('md5', $path);
 }