mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-20 12:29:46 -06:00
perf: is()/is_above() determine when to fetch
This commit is contained in:
@@ -433,10 +433,8 @@ class ACLService extends BaseService {
|
||||
const appdata_node = await svc_fs.node(new NodePathSelector(appdata_path));
|
||||
|
||||
if (
|
||||
await appdata_node.exists() && (
|
||||
await appdata_node.is(fsNode) ||
|
||||
await appdata_node.is_above(fsNode)
|
||||
)
|
||||
await appdata_node.is(fsNode) ||
|
||||
await appdata_node.is_above(fsNode)
|
||||
) {
|
||||
this.log.debug('TRUE BECAUSE APPDATA');
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user