vendor/league/flysystem-cached-adapter/src/CacheInterface.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

namespace League\Flysystem\Cached;

use League\Flysystem\ReadInterface;

interface CacheInterface extends ReadInterface
{
    /**
     * Check whether the directory listing of a given directory is complete.
     *
     * @param string $dirname
     * @param bool   $recursive
     *
     * @return bool
     */
    public function isComplete($dirname, $recursive);

    /**
     * Set a directory to completely listed.
     *
     * @param string $dirname
     * @param bool   $recursive
     */
    public function setComplete($dirname, $recursive);

    /**
     * Store the contents of a directory.
     *
     * @param string $directory
     * @param array  $contents
     * @param bool   $recursive
     */
    public function storeContents($directory, array $contents, $recursive);

    /**
     * Flush the cache.
     */
    public function flush();

    /**
     * Autosave trigger.
     */
    public function autosave();

    /**
     * Store the cache.
     */
    public function save();

    /**
     * Load the cache.
     */
    public function load();

    /**
     * Rename a file.
     *
     * @param string $path
     * @param string $newpath

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。