Commit Graph

2 Commits

Author SHA1 Message Date
Andreas Kling
fdfda6dec2 AK: Make string-to-number conversion helpers return Optional
Get rid of the weird old signature:

- int StringType::to_int(bool& ok) const

And replace it with sensible new signature:

- Optional<int> StringType::to_int() const
2020-06-12 21:28:55 +02:00
Sergey Bugaev
f2f1975baa Userland: Add find(1)
This is a somewhat incomplete implementation of the Unix find command :^)

Closes https://github.com/SerenityOS/serenity/issues/272
2020-06-06 14:42:31 +02:00