Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ getFileSize
Function
getFileSize
packages/parser/src/utils.ts:11–13 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
9
* 获取文件大小
10
*/
11
export
function
getFileSize(filePath: string): number {
12
return
fs.statSync(filePath).size
13
}
14
15
/**
16
* 读取文件头部指定字节数
Callers
14
needsPreprocess
Function · 0.90
parseWeFlow
Function · 0.90
parseTxt
Function · 0.90
parseWhatsApp
Function · 0.90
parseInstagram
Function · 0.90
parseV4
Function · 0.90
parseChatLab
Function · 0.90
parseChatLabJsonl
Function · 0.90
parseTelegramSingle
Function · 0.90
parseDiscordExporter
Function · 0.90
parseGoogleChat
Function · 0.90
parseTelegram
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected