Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Builder<File> assertions #230

Merged
merged 4 commits into from Nov 3, 2020

Conversation

tristanlins
Copy link
Contributor

I've needed most of these recently. 馃槑

  • mapping property Builder<File>.parentFile: Builder<File>
  • mapping property Builder<File>.lastModified: Long
  • mapping property Builder<File>.length: Long
  • mapping property Builder<File>.childFiles: Builder<List<File>>
  • mapping function Builder<File>.childFile(name): Builder<File>
  • assertion Builder<File>.exists()
  • assertion Builder<File>.notExists()
  • assertion Builder<File>.isRegularFile()
  • assertion Builder<File>.isNotRegularFile()
  • assertion Builder<File>.isDirectory()
  • assertion Builder<File>.isNotDirectory()
  • assertion Builder<File>.isReadable()
  • assertion Builder<File>.isNotReadable()
  • assertion Builder<File>.isWritable()
  • assertion Builder<File>.isNotWritable()
  • assertion Builder<File>.isExecutable()
  • assertion Builder<File>.isNotExecutable()

- mapping property `Builder<File>.parentFile: Builder<File>`
- mapping property `Builder<File>.lastModified: Long`
- mapping property `Builder<File>.length: Long`
- mapping property `Builder<File>.childFiles: Builder<List<File>>`
- mapping function `Builder<File>.childFile(name): Builder<File>`
- assertion `Builder<File>.exists()`
- assertion `Builder<File>.notExists()`
- assertion `Builder<File>.isRegularFile()`
- assertion `Builder<File>.isNotRegularFile()`
- assertion `Builder<File>.isDirectory()`
- assertion `Builder<File>.isNotDirectory()`
- assertion `Builder<File>.isReadable()`
- assertion `Builder<File>.isNotReadable()`
- assertion `Builder<File>.isWritable()`
- assertion `Builder<File>.isNotWritable()`
- assertion `Builder<File>.isExecutable()`
- assertion `Builder<File>.isNotExecutable()`

Signed-off-by: Tristan Lins <tristan@lins.io>
@robfletcher
Copy link
Owner

Nice. Thank you!

@robfletcher robfletcher merged commit a618a21 into robfletcher:trunk Nov 3, 2020
robfletcher added a commit that referenced this pull request Nov 3, 2020
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.

None yet

2 participants