2 * Copyright (C) 2011-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "IDirectory.h"
18 class CNFSDirectory
: public IDirectory
22 ~CNFSDirectory(void) override
;
23 bool GetDirectory(const CURL
& url
, CFileItemList
&items
) override
;
24 DIR_CACHE_TYPE
GetCacheType(const CURL
& url
) const override
{ return DIR_CACHE_ONCE
; }
25 bool Create(const CURL
& url
) override
;
26 bool Exists(const CURL
& url
) override
;
27 bool Remove(const CURL
& url
) override
;
29 bool GetServerList(CFileItemList
&items
);
30 bool GetDirectoryFromExportList(const std::string
& strPath
, CFileItemList
&items
);
31 bool ResolveSymlink( const std::string
&dirName
, struct nfsdirent
*dirent
, CURL
&resolvedUrl
);