sapling/eden/scm/lib/fsinfo
Xavier Deguillard 674e9c7900 fsinfo: return an enum instead of a String
Summary:
In a strongly typed langage, using strings should be avoided whenever possible
as they do not provide the safety guarantees that types provide.

I took the liberty of removing all the filesystems that are not relevant for
Mercurial for simplification reasons. If needs arise, we can always add a new
FsType to the enum.

Reviewed By: DurhamG

Differential Revision: D20517138

fbshipit-source-id: 0a38b53c6a87f05f4b2d664038e10c4293de96ae
2020-03-23 14:29:10 -07:00
..
examples fsinfo: return an enum instead of a String 2020-03-23 14:29:10 -07:00
src fsinfo: return an enum instead of a String 2020-03-23 14:29:10 -07:00
Cargo.toml fsinfo: return an enum instead of a String 2020-03-23 14:29:10 -07:00