Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ addDirectory
Function
addDirectory
lib/CleanPlugin.js:67–69 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
65
* @param {string} filename asset filename
66
*/
67
const
addDirectory = (filename) => {
68
directories.add(path.dirname(filename));
69
};
70
71
// get directories of assets
72
for
(
const
[asset] of assets) {
Callers
4
getDirectories
Function · 0.85
addDirectoryChecked
Method · 0.85
addSubDirectory
Method · 0.85
visitResource
Method · 0.85
Calls
1
add
Method · 0.45
Tested by
no test coverage detected