HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /volume1/@appstore/Spreadsheet/server/common/base/path.js
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return e}});const t=require("../helper");class e{constructor(){this.path=""}set(t){this.path=t}get(){return this.path||""}updateName(t){if(!this.path){return}this.path=this.path.substring(0,this.path.lastIndexOf("/")+1)+t}updatePath(e,r){if(!this.path||!(0,t.isSubPath)(e,this.path)){return}this.path=r+this.path.substring(e.length);return}}