You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can validate a file's size via an = N comparison. This request is for validating a file's size via inequalities: > N or < N.
Describe the solution you'd like
I'm imaginging new options such as file: /foo/bar: size_above: 100 or file: /foo/bar: size_below: 100. Implementation-wise I think this is the simplest way to go.
Allowing one to pass an inequality to file: /foo/bar: size: like file: /foo/bar: size: '> 100' is another alternative, but would be more complex.
Describe alternatives you've considered
I'm sure there is a bash command which could be run to validate file size like this, very open to suggestions. I'm also interested in contributing the change if approved. Thanks!
The text was updated successfully, but these errors were encountered:
Basically, being able to extract JSON and the ability to do numeric tests on strings, so "45" < 50 and "this nested JSON object's value is < 25" type tests.
Any feedback on that PR would be greatly appreciated.
Describe the feature:
Currently we can validate a file's size via an
= N
comparison. This request is for validating a file's size via inequalities:> N
or< N
.Describe the solution you'd like
I'm imaginging new options such as
file: /foo/bar: size_above: 100
orfile: /foo/bar: size_below: 100
. Implementation-wise I think this is the simplest way to go.Allowing one to pass an inequality to
file: /foo/bar: size:
likefile: /foo/bar: size: '> 100'
is another alternative, but would be more complex.Describe alternatives you've considered
I'm sure there is a bash command which could be run to validate file size like this, very open to suggestions. I'm also interested in contributing the change if approved. Thanks!
The text was updated successfully, but these errors were encountered: