@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
26 lines (25 loc) • 846 B
JavaScript
/*
* Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com>
* This file is part of Sync-in | The open source file sync and share solution
* See the LICENSE file for licensing details
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "getTmpFilePath", {
enumerable: true,
get: function() {
return getTmpFilePath;
}
});
const _nodepath = /*#__PURE__*/ _interop_require_default(require("node:path"));
const _sync = require("../constants/sync");
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
function getTmpFilePath(rPath) {
return `${_nodepath.default.dirname(rPath)}/${_sync.SYNC_FILE_NAME_PREFIX}${_nodepath.default.basename(rPath)}`;
}
//# sourceMappingURL=functions.js.map