From: Thomas Müller Date: Fri, 27 Feb 2015 10:56:13 +0000 (-0800) Subject: Merge pull request #14437 from owncloud/node-check-fileinfo X-Git-Tag: v8.1.0alpha1~386 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7fe07e93fe4706962d2957d252b009513459d15e;p=nextcloud-server.git Merge pull request #14437 from owncloud/node-check-fileinfo Check if we have a proper fileinfo --- 7fe07e93fe4706962d2957d252b009513459d15e diff --cc lib/private/files/node/node.php index 536483fc89d,2d46596a088..9446bff603e --- a/lib/private/files/node/node.php +++ b/lib/private/files/node/node.php @@@ -1,13 -1,32 +1,17 @@@ - * @author Joas Schilling - * @author Robin Appelman - * @author Vincent Petry - * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see - * + * Copyright (c) 2013 Robin Appelman + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ + namespace OC\Files\Node; + use OC\Files\Filesystem; + use OCP\Files\FileInfo; + use OCP\Files\InvalidPathException; + use OCP\Files\NotFoundException; use OCP\Files\NotPermittedException; class Node implements \OCP\Files\Node {