mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
more type hints
This commit is contained in:
parent
767f6b3f6f
commit
e9f6d00a93
28 changed files with 343 additions and 530 deletions
|
|
@ -21,50 +21,23 @@ interface IFileInfo {
|
|||
const MODE_ARCHIVE = 0x20;
|
||||
const MODE_NORMAL = 0x80;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPath();
|
||||
public function getPath(): string;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName();
|
||||
public function getName(): string;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getSize();
|
||||
public function getSize(): int;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMTime();
|
||||
public function getMTime(): int;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isDirectory();
|
||||
public function isDirectory(): bool;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isReadOnly();
|
||||
public function isReadOnly(): bool;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isHidden();
|
||||
public function isHidden(): bool;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSystem();
|
||||
public function isSystem(): bool;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isArchived();
|
||||
public function isArchived(): bool;
|
||||
|
||||
/**
|
||||
* @return ACL[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue