MCPcopy Index your code
hub / github.com/nodejs/node / drop

Function drop

lib/internal/process/permission.js:46–57  ·  view source on GitHub ↗
(scope, reference)

Source from the content-addressed store, hash-verified

44 return permission.has(scope, reference);
45 },
46 drop(scope, reference) {
47 validateString(scope, 'scope');
48 if (reference != null) {
49 if (isBuffer(reference)) {
50 validateBuffer(reference, 'reference');
51 } else {
52 validateString(reference, 'reference');
53 }
54 }
55
56 permission.drop(scope, reference);
57 },
58 availableFlags() {
59 if (_ffi === undefined) {
60 const { getOptionValue } = require('internal/options');

Callers

nothing calls this directly

Calls 2

dropMethod · 0.80
isBufferFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…