Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Dec 31, 2015
1 parent e9c7cef commit 8b1e37d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

Inilike is D library for parsing **.ini**-like files used in Freedesktop systems in various places (.desktop files, icon themes, mimeapps.list, mimeinfo.cache, trashcan files on freedesktop, etc.)

[![Build Status](https://travis-ci.org/MyLittleRobo/inilike.svg?branch=master)](https://travis-ci.org/MyLittleRobo/inilike) [![Coverage Status](https://coveralls.io/repos/MyLittleRobo/inilike/badge.svg?branch=master&service=github)](https://coveralls.io/github/MyLittleRobo/inilike?branch=master)
[![Build Status](https://travis-ci.org/MyLittleRobo/inilike.svg?branch=master)](https://travis-ci.org/MyLittleRobo/inilike?branch=master) [![Coverage Status](https://coveralls.io/repos/MyLittleRobo/inilike/badge.svg?branch=master&service=github)](https://coveralls.io/github/MyLittleRobo/inilike?branch=master)

Note: the original purpose of this library is to serve as dependency for my other projects, e.g. [desktopfile](https://github.com/MyLittleRobo/desktopfile) and [icontheme](https://github.com/MyLittleRobo/icontheme). It may be not suitable to save configuration files using this library. You have been warned.

Expand Down
4 changes: 2 additions & 2 deletions source/inilike/common.d
Expand Up @@ -152,7 +152,7 @@ unittest

/**
* Test whether the string is valid key.
* Only the characters A-Za-z0-9- may be used in key names. See $(LINK2 http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html Basic format of the file)
* Only the characters A-Za-z0-9- may be used in key names. See $(LINK2 http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html, Basic format of the file)
* Note: this function automatically separate key from locale. It does not check validity of the locale itself.
*/
@nogc @safe bool isValidKey(String)(String key) pure nothrow if (is(String : const(char)[])) {
Expand Down Expand Up @@ -355,7 +355,7 @@ unittest
* Params:
* locale = original locale to match to
* firstLocale = first locale
* firstValie = first value
* firstValue = first value
* secondLocale = second locale
* secondValue = second value
* Returns: The best alternative among two or empty string if none of alternatives match original locale.
Expand Down

0 comments on commit 8b1e37d

Please sign in to comment.