diff options
author | Aleksey Filippov <alekseyf@google.com> | 2018-09-25 18:07:09 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-11-22 23:38:40 +0200 |
commit | 1c8c888854e2c3ad2fbfeb3229520b8a6d3c1799 (patch) | |
tree | 88c66bd2555170e03bbcdb96af7985ac361cbb09 /mesonbuild/mconf.py | |
parent | 9f675cc55a04545886e6de4fb1721acc6536f40c (diff) | |
download | meson-1c8c888854e2c3ad2fbfeb3229520b8a6d3c1799.zip meson-1c8c888854e2c3ad2fbfeb3229520b8a6d3c1799.tar.gz meson-1c8c888854e2c3ad2fbfeb3229520b8a6d3c1799.tar.bz2 |
Use first 7 letters of sha256 for subdirectory part of target id
Fixed-size hash makes paths shorter and prevents doubling of path length
because of subdir usage in target id: "subdir/id" would generate
"subdir/{subdir-without-slashes}@@id" target otherwise.
Export construct_id_from_path() to aid tests.
Add a separate unit test for this function to make sure it is not broken unexpectedly.
Closes #4226.
Diffstat (limited to 'mesonbuild/mconf.py')
0 files changed, 0 insertions, 0 deletions