iEntry
MMO\git\interfaces · 1 symbol · generated 5 Oct 2026
interface MMO\git\interfaces\iEntry- Namespace
MMO\git\interfaces
Constants24
const CAN_BE_ADDED = 98048const CAN_BE_COMMITED = 127const COMMIT_CHANGED = 262144const ENTRY_STATUS = 65535const INDEX_ADDED = 2const INDEX_COPIED = 16const INDEX_DELETED = 4const INDEX_IGNORED = 128const INDEX_MODIFIED = 1const INDEX_RENAMED = 8const INDEX_UNMERGED = 32const INDEX_UNTRACKED = 64const MODULE_STATUS = 458752const TRACKED_CHANGES = 65536const UNKNOWN_ERROR = 524288const UNTRACKED_CHANGES = 131072const WORKTREE_ADDED = 512const WORKTREE_COPIED = 4096const WORKTREE_DELETED = 1024const WORKTREE_IGNORED = 32768const WORKTREE_MODIFIED = 256const WORKTREE_RENAMED = 2048const WORKTREE_UNMERGED = 8192const WORKTREE_UNTRACKED = 16384Methods5
abstract function getFilename(): string| returns | string | the absolute filename of the entry. |
abstract function getOrigin(): ?string| returns | null | string | the previous path, when the entry was renamed or copied. |
abstract function getStatus(): int| returns | int | the status, as a combination of this interface's flags. |
abstract function getStatusText(?string $sep = ', '): array|stringabstract function relativeFilename(): string| returns | string | the filename relative to the repository it belongs to. |