Skip to content

Conversation

@hartbit
Copy link
Contributor

@hartbit hartbit commented Nov 30, 2017

No description provided.

@hartbit
Copy link
Contributor Author

hartbit commented Nov 30, 2017

@swift-ci please smoke test

let target = path.appending(component: "target")
try fs.writeFileContents(target, bytes: "source")

// source and target exist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Capitalize and punctuation.

// Source nad target exists.

XCTAssertEqual(fs.exists(source, followSymlink: true), true)
XCTAssertEqual(fs.exists(source, followSymlink: false), true)

// source only exists
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Capitalize and punctuation.

XCTAssertEqual(fs.exists(source, followSymlink: true), false)
XCTAssertEqual(fs.exists(source, followSymlink: false), true)

// none exist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Capitalize and punctuation.

@hartbit hartbit force-pushed the filesystem-exists-symlink branch from 02369af to 95bd923 Compare November 30, 2017 22:34
@hartbit
Copy link
Contributor Author

hartbit commented Nov 30, 2017

@swift-ci please smoke test

@hartbit hartbit merged commit 0a2ecf0 into swiftlang:master Nov 30, 2017
@hartbit hartbit deleted the filesystem-exists-symlink branch December 3, 2018 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants