Kare Morstol
Kare Morstol
Hi, nice framework, it's the best replacement for NSURL in Swift I've seen. Have you considered splitting Path into DirectoryPath and FilePath? Path has a lot of methods which are...
Something like ` path.relativeTo(_ dirpath: DirectoryPath)`.
See https://github.com/kareman/FileSmith/blob/master/Sources/Errors.swift
With the error message ``` Test Case 'FileTests.testFiles' started at 01:10:40.767 /home/name/Libraries/FileSmith/Tests/FileSmithTests/FileTests.swift:63: error: FileTests.testFiles : XCTAssertFalse failed - /home/name/Libraries/FileSmith/Tests/FileSmithTests/FileTests.swift:72: error: FileTests.testFiles : XCTAssertThrowsError failed: did not throw error - Test...
Use encoding for which string view to use: UTF8, UTF16, CharacterView, UnicodescalarView. https://github.com/kareman/FileSmith/blob/master/Sources/Stream.swift#L65
May be achieved by printing "\r".
var .isTerminal: Bool [isatty(3)](https://linux.die.net/man/3/isatty) Maybe set `errno=0` first?
Right now they are running in debug mode which is pretty pointless. Will have to create a new unit test target in Xcode for performance tests and a corresponding scheme...
If the environment is fetched before task is launched, run /usr/bin/env to get the environment the task will have when it is running. Or see if there is a Cocoa...