mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-06 12:21:11 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
node_modules/lodash
26
node_modules/lodash/_listCacheSet.js
generated
vendored
26
node_modules/lodash/_listCacheSet.js
generated
vendored
|
@ -1,26 +0,0 @@
|
|||
var assocIndexOf = require('./_assocIndexOf');
|
||||
|
||||
/**
|
||||
* Sets the list cache `key` to `value`.
|
||||
*
|
||||
* @private
|
||||
* @name set
|
||||
* @memberOf ListCache
|
||||
* @param {string} key The key of the value to set.
|
||||
* @param {*} value The value to set.
|
||||
* @returns {Object} Returns the list cache instance.
|
||||
*/
|
||||
function listCacheSet(key, value) {
|
||||
var data = this.__data__,
|
||||
index = assocIndexOf(data, key);
|
||||
|
||||
if (index < 0) {
|
||||
++this.size;
|
||||
data.push([key, value]);
|
||||
} else {
|
||||
data[index][1] = value;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
module.exports = listCacheSet;
|
Loading…
Add table
Add a link
Reference in a new issue