// List method returns array of files from the target folder public FsObject[] List(string path, ListConfig config = null) { string fullpath = idToPath(path); if (_logger != null) { _logger.LogDebug($"List {fullpath}"); } if (!policy.Comply(fullpath, Operation.Read)) { throw new System.InvalidOperationException("Access Denied"); } if (config == null) { config = list; } return(listFolder(fullpath, config).ToArray()); }