diff --git a/api/index.md b/api/index.md index 622a85f..919099a 100644 --- a/api/index.md +++ b/api/index.md @@ -1065,8 +1065,8 @@ sections: | [Object.lookup (repo, id, type)](/api/object/#lookup) | AsyncExperimental | | [Object.lookupPrefix (repo, id, len, type)](/api/object/#lookupPrefix) | AsyncExperimental | | [Object.size (type)](/api/object/#size) | SyncExperimental | -| [Object.string2type (str)](/api/object/#string2type) | SyncExperimental | -| [Object.type2string (type)](/api/object/#type2string) | SyncExperimental | +| [Object.string2Type (str)](/api/object/#string2Type) | SyncExperimental | +| [Object.type2String (type)](/api/object/#type2String) | SyncExperimental | | [Object.typeisloose (type)](/api/object/#typeisloose) | SyncExperimental | | Instance Methods | | diff --git a/api/object/index.md b/api/object/index.md index d40be0e..dd4ae6b 100644 --- a/api/object/index.md +++ b/api/object/index.md @@ -10,8 +10,8 @@ sections: "lookup": "#lookup" "lookupPrefix": "#lookupPrefix" "size": "#size" - "string2type": "#string2type" - "type2string": "#type2string" + "string2Type": "#string2Type" + "type2String": "#type2String" "typeisloose": "#typeisloose" "#dup": "#dup" "#free": "#free" @@ -75,10 +75,10 @@ var result = Object.size(type); | --- | --- | | Number | size in bytes of the object | -## Object.string2type SyncExperimental +## Object.string2Type SyncExperimental ```js -var result = Object.string2type(str); +var result = Object.string2Type(str); ``` | Parameters | Type | | @@ -89,10 +89,10 @@ var result = Object.string2type(str); | --- | --- | | Number | the corresponding git_otype. | -## Object.type2string SyncExperimental +## Object.type2String SyncExperimental ```js -var string = Object.type2string(type); +var string = Object.type2String(type); ``` | Parameters | Type | |