文件操作 - go_js_wasm_exec
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/go-1.23/misc/wasm/go_js_wasm_exec
编辑文件内容
#!/usr/bin/env bash # Copyright 2018 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" # Increase the V8 stack size from the default of 984K # to 8192K to ensure all tests can pass without hitting # stack size limits. exec node --stack-size=8192 "$DIR/wasm_exec_node.js" "$@"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件