DosAttrs.php 989 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. * This file is part of the nelexa/zip package.
  5. * (c) Ne-Lexa <https://github.com/Ne-Lexa/php-zip>
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. namespace PhpZip\Constants;
  10. interface DosAttrs
  11. {
  12. /** @var int DOS File Attribute Read Only */
  13. public const DOS_READ_ONLY = 0x01;
  14. /** @var int DOS File Attribute Hidden */
  15. public const DOS_HIDDEN = 0x02;
  16. /** @var int DOS File Attribute System */
  17. public const DOS_SYSTEM = 0x04;
  18. /** @var int DOS File Attribute Label */
  19. public const DOS_LABEL = 0x08;
  20. /** @var int DOS File Attribute Directory */
  21. public const DOS_DIRECTORY = 0x10;
  22. /** @var int DOS File Attribute Archive */
  23. public const DOS_ARCHIVE = 0x20;
  24. /** @var int DOS File Attribute Link */
  25. public const DOS_LINK = 0x40;
  26. /** @var int DOS File Attribute Execute */
  27. public const DOS_EXE = 0x80;
  28. }