diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-12-16 21:02:55 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-12-16 21:47:37 -0500 |
commit | 8ae17c483d86f151d69091546b3577381662e27e (patch) | |
tree | 51e7ca7765ae3d7b05277d850e7805240995e430 /src/rebar_config.erl | |
parent | 3da4cc222197e01886d3baaeca7a380e02ff3125 (diff) |
Fix Alisdair's review, add more types and docs
Diffstat (limited to 'src/rebar_config.erl')
-rw-r--r-- | src/rebar_config.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl index 84f40d4..97e27ab 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -125,9 +125,9 @@ write_lock_file(LockFile, Locks) -> format_attrs(Attrs)])) end. -%% @private Attributes have a special formatting to ensure there's only one per -%% line in terms of pkg_hash, so we disturb source diffing as little -%% as possible. +%% @private Because attributes for packages are fairly large, there is the need +%% for a special formatting to ensure there's only one entry per lock file +%% line and that diffs are generally stable. -spec format_attrs([term()]) -> iodata(). format_attrs([]) -> []; format_attrs([{pkg_hash, Vals}|T]) -> |