add bytes starts-with command (#5950)

* refactor operate, make it generic

* refactor operate, add starts with command

* add comment

* remove useless file
This commit is contained in:
WindSoilder
2022-07-05 19:42:01 +08:00
committed by GitHub
parent 89acbda877
commit 390d06d4e7
4 changed files with 221 additions and 44 deletions

View File

@ -209,7 +209,8 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
// Bytes
bind_command! {
BytesLen
BytesLen,
BytesStartsWith
}
// FileSystem