How to use the fswin.setAttributes function in fswin

To help you get started, we’ve selected a few fswin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stevenvachon / winattr / lib / binding / index.js View on Github external
const set = (path, attrs, callback) =>
{
	fswin.setAttributes(path, convertAttrs.to(attrs), success =>
	{
		// fswin does not return an error -- problem could be ENOENT,EPERM,etc
		callback( success===true ? null : new Error("unknown error") );
	});
};

fswin

nodejs fs extensions for windows

BSD
Latest version published 1 year ago

Package Health Score

56 / 100
Full package analysis