1
1
mirror of https://github.com/mgree/ffs.git synced 2024-10-26 20:09:03 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Michael Greenberg
85b1ac6da9
Better, configurable name munging (#41)
A new flag `--munge [rename|filter]` controls how a name munging will work.

Name munging only applies to fields named '.', '..', containing a NUL byte, or containing a forward slash '/'.

The `rename` option (the default) will change '.' to '_.' and '..' to '_..'; each NUL byte turns into '_NUL_' and each slash turns into '_SLASH_'.

This greatly simplified policy means that spaces and other special characters should work just fine in field names now.
2021-07-08 08:55:44 -07:00
Michael Greenberg
94917eda25
Yaml support (#14)
Adds support for YAML using [yaml_rust](https://crates.io/crates/yaml-rust).

Some compromises due to YAML funniness: compound keys will be treated as their hashes.
2021-06-21 17:36:15 -07:00