├── .drstring.toml ├── .github ├── FUNDING.yml └── workflows │ ├── amazon-linux-2.yml │ ├── macos-11.yml │ ├── ubuntu-bionic.yml │ ├── ubuntu-focal.yml │ └── windows.yml ├── .gitignore ├── .swiftformat ├── CHANGELOG.md ├── CMakeLists.txt ├── Documentation ├── APIs │ ├── Constants.md │ ├── FileTime.md │ ├── FileType.md │ ├── Metadata.md │ ├── NativeEncodingUnit.md │ ├── POSIXConstants.md │ ├── POSIXFileType.md │ ├── POSIXPathConvertible.md │ ├── POSIXPermissions.md │ ├── Path.md │ ├── PathConvertible.md │ ├── Permissions.md │ ├── PurePOSIXPath.md │ ├── PurePath.md │ ├── PureWindowsPath.md │ ├── README.md │ ├── SystemError.md │ ├── WindowsAttributes.md │ ├── WindowsConstants.md │ ├── WindowsFileType.md │ └── WindowsPathConvertible.md ├── README.md ├── UserGuide.md └── design.md ├── Examples ├── CMakeLists.txt ├── lookup │ └── main.swift ├── ls │ └── main.swift ├── mk │ └── main.swift ├── readonly │ └── main.swift └── rm │ └── main.swift ├── LICENSE.md ├── Makefile ├── Package.swift ├── README.md ├── RELEASING.md ├── Resources └── Assets │ ├── Arts.sketch │ └── Banner.png ├── Scripts ├── Dockerfile-testing-linux ├── Package_windows.swift ├── cmake_root │ ├── Sources │ │ └── Pathos │ │ │ └── CMakeLists.txt │ └── Tests │ │ └── CMakeLists.txt ├── docker.sh ├── ensure-swiftformat.sh ├── gen-doc.py ├── githooks │ └── pre-commit ├── test_windows.swift └── update-cmake.py ├── Sources ├── CMakeLists.txt ├── LinuxHelpers │ ├── dummy.c │ └── include │ │ ├── linux_metadata.h │ │ └── module.modulemap ├── Pathos │ ├── Algorithms.swift │ ├── BinaryString.swift │ ├── Box.swift │ ├── CMakeLists.txt │ ├── Constants.swift │ ├── Darwin │ │ ├── Metadata+Darwin.swift │ │ └── Path+Darwin.swift │ ├── FileTime.swift │ ├── FileType.swift │ ├── LazyBoxed.swift │ ├── Linux │ │ ├── Metadata+Glibc.swift │ │ └── Path+Glibc.swift │ ├── Metadata.swift │ ├── POSIX │ │ ├── FileTime+POSIX.swift │ │ ├── POSIXConstants.swift │ │ ├── POSIXFileType.swift │ │ ├── POSIXPathConvertible.swift │ │ ├── POSIXPermissions.swift │ │ ├── Path+POSIX.swift │ │ ├── PathParts+POSIX.swift │ │ └── PurePOSIXPath.swift │ ├── Path+Joining.swift │ ├── Path+Temporary.swift │ ├── Path.swift │ ├── PathParts.swift │ ├── Permissions.swift │ ├── PurePath.swift │ ├── PurePathRepresentable.swift │ ├── SystemError.swift │ └── Windows │ │ ├── FileTime+Windows.swift │ │ ├── Metadata+Windows.swift │ │ ├── Path+Windows.swift │ │ ├── PathParts+Windows.swift │ │ ├── PureWindowsPath.swift │ │ ├── WindowsAttributes.swift │ │ ├── WindowsConstants.swift │ │ ├── WindowsFileType.swift │ │ └── WindowsPathConvertible.swift └── WindowsHelpers │ ├── CMakeLists.txt │ ├── dummy.c │ └── include │ ├── WindowsHelpers.h │ ├── module.modulemap │ └── reparsedata.h ├── Tests ├── CMakeLists.txt ├── LinuxMain.swift └── PathosTests │ ├── AbsoluteTests.swift │ ├── BaseTests.swift │ ├── ChildrenTests.swift │ ├── CopyTests.swift │ ├── GlobTests.swift │ ├── HomeTests.swift │ ├── MetadataTests.swift │ ├── POSIXBinaryStringTests.swift │ ├── POSIXPartsParsingTests.swift │ ├── POSIXPathInitializationTests.swift │ ├── POSIXPathJoiningTests.swift │ ├── PathDeletionTests.swift │ ├── PathExistsTests.swift │ ├── PathExtensionTests.swift │ ├── PathJoiningOperatorTests.swift │ ├── PathJoiningTests.swift │ ├── PathNormalTests.swift │ ├── PathParentsTests.swift │ ├── PermissionsTests.swift │ ├── PurePOSIXParentTests.swift │ ├── PurePOSIXPathBaseTests.swift │ ├── PurePOSIXPathExtensionTests.swift │ ├── PurePOSIXPathIsAbsoluteTests.swift │ ├── PurePOSIXPathJoiningOperatorTests.swift │ ├── PurePOSIXPathNormalTests.swift │ ├── PurePOSIXPathParentsTests.swift │ ├── PurePOSIXPathRelativeTests.swift │ ├── PurePOSIXPathTests.swift │ ├── PureWindowsExtensionTests.swift │ ├── PureWindowsPathBaseTests.swift │ ├── PureWindowsPathIsAbsoluteTests.swift │ ├── PureWindowsPathJoiningOperatorTests.swift │ ├── PureWindowsPathNormalTests.swift │ ├── PureWindowsPathParentTests.swift │ ├── PureWindowsPathParentsTests.swift │ ├── PureWindowsPathRelativeTests.swift │ ├── PureWindowsPathTests.swift │ ├── ReadStringTests.swift │ ├── ReadTests.swift │ ├── RealTests.swift │ ├── SymlinkTests.swift │ ├── TemporaryTests.swift │ ├── WindowsBinaryStringTests.swift │ ├── WindowsFileTimeTests.swift │ ├── WindowsPartsParsingTests.swift │ ├── WindowsPathJoiningTests.swift │ ├── WorkingDirectoryTests.swift │ ├── WriteTests.swift │ └── XCTestManifests.swift └── cmake └── modules ├── CMakeLists.txt ├── PathosConfig.cmake.in └── SwiftSupport.cmake /.drstring.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.drstring.toml -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/amazon-linux-2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/workflows/amazon-linux-2.yml -------------------------------------------------------------------------------- /.github/workflows/macos-11.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/workflows/macos-11.yml -------------------------------------------------------------------------------- /.github/workflows/ubuntu-bionic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/workflows/ubuntu-bionic.yml -------------------------------------------------------------------------------- /.github/workflows/ubuntu-focal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/workflows/ubuntu-focal.yml -------------------------------------------------------------------------------- /.github/workflows/windows.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.github/workflows/windows.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/.swiftformat -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Documentation/APIs/Constants.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/Constants.md -------------------------------------------------------------------------------- /Documentation/APIs/FileTime.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/FileTime.md -------------------------------------------------------------------------------- /Documentation/APIs/FileType.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/FileType.md -------------------------------------------------------------------------------- /Documentation/APIs/Metadata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/Metadata.md -------------------------------------------------------------------------------- /Documentation/APIs/NativeEncodingUnit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/NativeEncodingUnit.md -------------------------------------------------------------------------------- /Documentation/APIs/POSIXConstants.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/POSIXConstants.md -------------------------------------------------------------------------------- /Documentation/APIs/POSIXFileType.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/POSIXFileType.md -------------------------------------------------------------------------------- /Documentation/APIs/POSIXPathConvertible.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/POSIXPathConvertible.md -------------------------------------------------------------------------------- /Documentation/APIs/POSIXPermissions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/POSIXPermissions.md -------------------------------------------------------------------------------- /Documentation/APIs/Path.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/Path.md -------------------------------------------------------------------------------- /Documentation/APIs/PathConvertible.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/PathConvertible.md -------------------------------------------------------------------------------- /Documentation/APIs/Permissions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/Permissions.md -------------------------------------------------------------------------------- /Documentation/APIs/PurePOSIXPath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/PurePOSIXPath.md -------------------------------------------------------------------------------- /Documentation/APIs/PurePath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/PurePath.md -------------------------------------------------------------------------------- /Documentation/APIs/PureWindowsPath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/PureWindowsPath.md -------------------------------------------------------------------------------- /Documentation/APIs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/README.md -------------------------------------------------------------------------------- /Documentation/APIs/SystemError.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/SystemError.md -------------------------------------------------------------------------------- /Documentation/APIs/WindowsAttributes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/WindowsAttributes.md -------------------------------------------------------------------------------- /Documentation/APIs/WindowsConstants.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/WindowsConstants.md -------------------------------------------------------------------------------- /Documentation/APIs/WindowsFileType.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/WindowsFileType.md -------------------------------------------------------------------------------- /Documentation/APIs/WindowsPathConvertible.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/APIs/WindowsPathConvertible.md -------------------------------------------------------------------------------- /Documentation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/README.md -------------------------------------------------------------------------------- /Documentation/UserGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/UserGuide.md -------------------------------------------------------------------------------- /Documentation/design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Documentation/design.md -------------------------------------------------------------------------------- /Examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/CMakeLists.txt -------------------------------------------------------------------------------- /Examples/lookup/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/lookup/main.swift -------------------------------------------------------------------------------- /Examples/ls/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/ls/main.swift -------------------------------------------------------------------------------- /Examples/mk/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/mk/main.swift -------------------------------------------------------------------------------- /Examples/readonly/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/readonly/main.swift -------------------------------------------------------------------------------- /Examples/rm/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Examples/rm/main.swift -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/RELEASING.md -------------------------------------------------------------------------------- /Resources/Assets/Arts.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Resources/Assets/Arts.sketch -------------------------------------------------------------------------------- /Resources/Assets/Banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Resources/Assets/Banner.png -------------------------------------------------------------------------------- /Scripts/Dockerfile-testing-linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/Dockerfile-testing-linux -------------------------------------------------------------------------------- /Scripts/Package_windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/Package_windows.swift -------------------------------------------------------------------------------- /Scripts/cmake_root/Sources/Pathos/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/cmake_root/Sources/Pathos/CMakeLists.txt -------------------------------------------------------------------------------- /Scripts/cmake_root/Tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/cmake_root/Tests/CMakeLists.txt -------------------------------------------------------------------------------- /Scripts/docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/docker.sh -------------------------------------------------------------------------------- /Scripts/ensure-swiftformat.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/ensure-swiftformat.sh -------------------------------------------------------------------------------- /Scripts/gen-doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/gen-doc.py -------------------------------------------------------------------------------- /Scripts/githooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | make format 4 | git diff --exit-code 5 | -------------------------------------------------------------------------------- /Scripts/test_windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/test_windows.swift -------------------------------------------------------------------------------- /Scripts/update-cmake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Scripts/update-cmake.py -------------------------------------------------------------------------------- /Sources/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/CMakeLists.txt -------------------------------------------------------------------------------- /Sources/LinuxHelpers/dummy.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Sources/LinuxHelpers/include/linux_metadata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/LinuxHelpers/include/linux_metadata.h -------------------------------------------------------------------------------- /Sources/LinuxHelpers/include/module.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/LinuxHelpers/include/module.modulemap -------------------------------------------------------------------------------- /Sources/Pathos/Algorithms.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Algorithms.swift -------------------------------------------------------------------------------- /Sources/Pathos/BinaryString.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/BinaryString.swift -------------------------------------------------------------------------------- /Sources/Pathos/Box.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Box.swift -------------------------------------------------------------------------------- /Sources/Pathos/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/CMakeLists.txt -------------------------------------------------------------------------------- /Sources/Pathos/Constants.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Constants.swift -------------------------------------------------------------------------------- /Sources/Pathos/Darwin/Metadata+Darwin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Darwin/Metadata+Darwin.swift -------------------------------------------------------------------------------- /Sources/Pathos/Darwin/Path+Darwin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Darwin/Path+Darwin.swift -------------------------------------------------------------------------------- /Sources/Pathos/FileTime.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/FileTime.swift -------------------------------------------------------------------------------- /Sources/Pathos/FileType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/FileType.swift -------------------------------------------------------------------------------- /Sources/Pathos/LazyBoxed.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/LazyBoxed.swift -------------------------------------------------------------------------------- /Sources/Pathos/Linux/Metadata+Glibc.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Linux/Metadata+Glibc.swift -------------------------------------------------------------------------------- /Sources/Pathos/Linux/Path+Glibc.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Linux/Path+Glibc.swift -------------------------------------------------------------------------------- /Sources/Pathos/Metadata.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Metadata.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/FileTime+POSIX.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/FileTime+POSIX.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/POSIXConstants.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/POSIXConstants.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/POSIXFileType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/POSIXFileType.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/POSIXPathConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/POSIXPathConvertible.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/POSIXPermissions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/POSIXPermissions.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/Path+POSIX.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/Path+POSIX.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/PathParts+POSIX.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/PathParts+POSIX.swift -------------------------------------------------------------------------------- /Sources/Pathos/POSIX/PurePOSIXPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/POSIX/PurePOSIXPath.swift -------------------------------------------------------------------------------- /Sources/Pathos/Path+Joining.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Path+Joining.swift -------------------------------------------------------------------------------- /Sources/Pathos/Path+Temporary.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Path+Temporary.swift -------------------------------------------------------------------------------- /Sources/Pathos/Path.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Path.swift -------------------------------------------------------------------------------- /Sources/Pathos/PathParts.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/PathParts.swift -------------------------------------------------------------------------------- /Sources/Pathos/Permissions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Permissions.swift -------------------------------------------------------------------------------- /Sources/Pathos/PurePath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/PurePath.swift -------------------------------------------------------------------------------- /Sources/Pathos/PurePathRepresentable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/PurePathRepresentable.swift -------------------------------------------------------------------------------- /Sources/Pathos/SystemError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/SystemError.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/FileTime+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/FileTime+Windows.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/Metadata+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/Metadata+Windows.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/Path+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/Path+Windows.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/PathParts+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/PathParts+Windows.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/PureWindowsPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/PureWindowsPath.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/WindowsAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/WindowsAttributes.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/WindowsConstants.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/WindowsConstants.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/WindowsFileType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/WindowsFileType.swift -------------------------------------------------------------------------------- /Sources/Pathos/Windows/WindowsPathConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/Pathos/Windows/WindowsPathConvertible.swift -------------------------------------------------------------------------------- /Sources/WindowsHelpers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/WindowsHelpers/CMakeLists.txt -------------------------------------------------------------------------------- /Sources/WindowsHelpers/dummy.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Sources/WindowsHelpers/include/WindowsHelpers.h: -------------------------------------------------------------------------------- 1 | #include "reparsedata.h" 2 | -------------------------------------------------------------------------------- /Sources/WindowsHelpers/include/module.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/WindowsHelpers/include/module.modulemap -------------------------------------------------------------------------------- /Sources/WindowsHelpers/include/reparsedata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Sources/WindowsHelpers/include/reparsedata.h -------------------------------------------------------------------------------- /Tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/CMakeLists.txt -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /Tests/PathosTests/AbsoluteTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/AbsoluteTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/BaseTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/BaseTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/ChildrenTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/ChildrenTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/CopyTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/CopyTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/GlobTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/GlobTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/HomeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/HomeTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/MetadataTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/MetadataTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/POSIXBinaryStringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/POSIXBinaryStringTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/POSIXPartsParsingTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/POSIXPartsParsingTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/POSIXPathInitializationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/POSIXPathInitializationTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/POSIXPathJoiningTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/POSIXPathJoiningTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathDeletionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathDeletionTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathExistsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathExistsTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathExtensionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathExtensionTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathJoiningOperatorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathJoiningOperatorTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathJoiningTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathJoiningTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathNormalTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathNormalTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PathParentsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PathParentsTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PermissionsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PermissionsTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXParentTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXParentTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathBaseTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathBaseTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathExtensionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathExtensionTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathIsAbsoluteTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathIsAbsoluteTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathJoiningOperatorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathJoiningOperatorTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathNormalTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathNormalTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathParentsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathParentsTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathRelativeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathRelativeTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PurePOSIXPathTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PurePOSIXPathTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsExtensionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsExtensionTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathBaseTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathBaseTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathIsAbsoluteTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathIsAbsoluteTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathJoiningOperatorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathJoiningOperatorTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathNormalTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathNormalTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathParentTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathParentTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathParentsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathParentsTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathRelativeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathRelativeTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/PureWindowsPathTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/PureWindowsPathTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/ReadStringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/ReadStringTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/ReadTests.swift: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Tests/PathosTests/RealTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/RealTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/SymlinkTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/SymlinkTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/TemporaryTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/TemporaryTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WindowsBinaryStringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WindowsBinaryStringTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WindowsFileTimeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WindowsFileTimeTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WindowsPartsParsingTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WindowsPartsParsingTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WindowsPathJoiningTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WindowsPathJoiningTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WorkingDirectoryTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WorkingDirectoryTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/WriteTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/WriteTests.swift -------------------------------------------------------------------------------- /Tests/PathosTests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/Tests/PathosTests/XCTestManifests.swift -------------------------------------------------------------------------------- /cmake/modules/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/cmake/modules/CMakeLists.txt -------------------------------------------------------------------------------- /cmake/modules/PathosConfig.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/cmake/modules/PathosConfig.cmake.in -------------------------------------------------------------------------------- /cmake/modules/SwiftSupport.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dduan/Pathos/HEAD/cmake/modules/SwiftSupport.cmake --------------------------------------------------------------------------------