Example #1
0
 /**
  * Delete a file.
  *
  * @param string $filePath
  * @param bool   $deleteCache
  *
  * @return bool
  */
 public function delete($filePath, $deleteCache = true)
 {
     if ($deleteCache) {
         Server::deleteCache($filePath);
     }
     return $this->disk->delete($this->buildPath($filePath));
 }