70603 lines
1.6 MiB
Plaintext
70603 lines
1.6 MiB
Plaintext
{
|
|
"version": "1.0.0",
|
|
"gitCommitHash": "a761afaa43dddbdf78c70afb2546c79c3b1289e5",
|
|
"generatedAt": "2026-11-10T15:25:27.387Z",
|
|
"files": {
|
|
".cargo/config.toml": {
|
|
"filePath": ".cargo/config.toml",
|
|
"contentHash": "2f4caca54be67b3b29fa229a5fe7d5c348c088ffe59bf6eae5dded3153a4dac7",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 18,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
".gitea/workflows/ci.yml": {
|
|
"filePath": ".gitea/workflows/ci.yml",
|
|
"contentHash": "b35f80346ae7b6a8e9aa568b2722b71be792083c28e933ab297168f1c1aeb1d5",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 91,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
".gitea/workflows/release.yml": {
|
|
"filePath": ".gitea/workflows/release.yml",
|
|
"contentHash": "1ee74bed1fa43db7d131faad405c96c787acb72d4ced97a999a3d3a3fe569ddb",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 154,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"AGENTS.md": {
|
|
"filePath": "AGENTS.md",
|
|
"contentHash": "d47496e9216f4bb2c2aee6fb4506acdf4bbeb293684e0677e694ffcdaa962652",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 18,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"CHANGELOG.md": {
|
|
"filePath": "CHANGELOG.md",
|
|
"contentHash": "49bfddc6c50fc921608ebaaed035f989cd08217bdd0168b0caa53b6801a6e1a6",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 369,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"Cargo.toml": {
|
|
"filePath": "Cargo.toml",
|
|
"contentHash": "6759b4ca8fd4aa3ea85600b5e2a36bdd57b1a43038d4625c086bed76fc60d5d7",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 46,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"DESIGN.md": {
|
|
"filePath": "DESIGN.md",
|
|
"contentHash": "a0fed30c7550ba52dabb612de92367e09aa02e9fbf2f6a99e9b8247bdc181aea",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 263,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"FEATURE_COMPATIBILITY.md": {
|
|
"filePath": "FEATURE_COMPATIBILITY.md",
|
|
"contentHash": "b11522bef11b52685c88f1437498768b7030cf3028d6c002f5293442538e2c41",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 322,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"LICENSES/NOTICE.md": {
|
|
"filePath": "LICENSES/NOTICE.md",
|
|
"contentHash": "e61b0753029562fe89466de3cf0d11ed2bb2c3af830276ff1987e34ecb452189",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 29,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"LICENSES/NotoSans-OFL.txt": {
|
|
"filePath": "LICENSES/NotoSans-OFL.txt",
|
|
"contentHash": "cff85073d492328d6d658f57d3a00ae2137cd8e7aadcf792f9801ee3bd59b121",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 100,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"LICENSES/sonora-NOTICE.txt": {
|
|
"filePath": "LICENSES/sonora-NOTICE.txt",
|
|
"contentHash": "d73e5f284af9fb7916849f13cb231495754cf1038122bb46ed34e1d3bb0c5e6c",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 70,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"LICENSES/teamspeak-client-icons-PROVENANCE.md": {
|
|
"filePath": "LICENSES/teamspeak-client-icons-PROVENANCE.md",
|
|
"contentHash": "401fef6da9023f7119665443e070c64a4897e59205029e4dbbdfde460ad17783",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 374,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"LICENSES/teamspeak-client-sounds-PROVENANCE.md": {
|
|
"filePath": "LICENSES/teamspeak-client-sounds-PROVENANCE.md",
|
|
"contentHash": "067eff446fd571018a7b689f385d83a10c669690d6e2e0fe19ca9fbac9ba175b",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 98,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"PRODUCT.md": {
|
|
"filePath": "PRODUCT.md",
|
|
"contentHash": "76318a9b1eaacf8169a3b053d8847073eca7246553eeb2da59bec921af7d490e",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 98,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"README.md": {
|
|
"filePath": "README.md",
|
|
"contentHash": "79db4f8ce9a9065826a28f29fe5a54747d984b0165b55d0f797f9bcd1b02cf16",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 331,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"core/Cargo.toml": {
|
|
"filePath": "core/Cargo.toml",
|
|
"contentHash": "2bbad9d821077a6d3fa1f585d318125280320b60dc155c4c5ff395361961d21e",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 63,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"core/src/admin.rs": {
|
|
"filePath": "core/src/admin.rs",
|
|
"contentHash": "85bb097370a3efe603a84219ddab3bc829d8e2a76addf8a643f823a924197d02",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tapped",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "is_admin",
|
|
"owner": "",
|
|
"params": [
|
|
"cmd"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "channel_create",
|
|
"owner": "Properties",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "channel_edit",
|
|
"owner": "Properties",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "server_edit",
|
|
"owner": "Properties",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "check_scope",
|
|
"owner": "Properties",
|
|
"params": [
|
|
"scope"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "deref",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&Self::Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "AdminCommand",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "AdminCommand",
|
|
"params": [],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "args",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "check_str",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value",
|
|
"max",
|
|
"allow_empty"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "check_opt",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value",
|
|
"max"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"v"
|
|
],
|
|
"returnType": "Result<u64, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "Result<u64, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"allowed"
|
|
],
|
|
"returnType": "Result<Vec<(&'static str, String)>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 43
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"cmd",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<AdminCommand, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 100
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 59
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"owner": "Reply",
|
|
"params": [
|
|
"notify",
|
|
"key"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "notification",
|
|
"owner": "Reply",
|
|
"params": [],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "collect",
|
|
"owner": "Reply",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 49
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "",
|
|
"params": [
|
|
"reply"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "confirm",
|
|
"owner": "",
|
|
"params": [
|
|
"given",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "channel_exists",
|
|
"owner": "",
|
|
"params": [
|
|
"live",
|
|
"cid",
|
|
"field"
|
|
],
|
|
"returnType": "Result<String, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "",
|
|
"params": [
|
|
"cmd",
|
|
"live"
|
|
],
|
|
"returnType": "Result<(OutCommand, Reply), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 110
|
|
},
|
|
{
|
|
"name": "talk_power",
|
|
"owner": "",
|
|
"params": [
|
|
"client_id",
|
|
"grant"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Kind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Str",
|
|
"Password",
|
|
"Bool",
|
|
"Uint",
|
|
"Int",
|
|
"F32"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "PrivilegeKeyKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"ServerGroup",
|
|
"ChannelGroup"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PropertyScope",
|
|
"methods": [],
|
|
"properties": [
|
|
"ChannelCreate",
|
|
"ChannelEdit",
|
|
"ServerEdit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Properties",
|
|
"methods": [
|
|
"channel_create",
|
|
"channel_edit",
|
|
"server_edit",
|
|
"check_scope",
|
|
"deref"
|
|
],
|
|
"properties": [
|
|
"scope",
|
|
"values"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "AdminCommand",
|
|
"methods": [
|
|
"name",
|
|
"generation"
|
|
],
|
|
"properties": [
|
|
"Extra",
|
|
"Context",
|
|
"ChannelCreate",
|
|
"ChannelEdit",
|
|
"ChannelMove",
|
|
"ChannelDelete",
|
|
"ChannelSubscribe",
|
|
"ChannelSubscribeAll",
|
|
"ChannelDescription",
|
|
"SetAway",
|
|
"TalkRequest",
|
|
"TalkPower",
|
|
"BanList",
|
|
"BanAdd",
|
|
"BanDelete",
|
|
"BanDeleteAll",
|
|
"PrivilegeKeyList",
|
|
"PrivilegeKeyAdd",
|
|
"PrivilegeKeyDelete",
|
|
"PrivilegeKeyUse",
|
|
"TempPasswordList",
|
|
"TempPasswordAdd",
|
|
"TempPasswordDelete",
|
|
"ServerInfo",
|
|
"ServerEdit",
|
|
"ServerGroupPermList",
|
|
"ChannelGroupPermList",
|
|
"ChannelPermList",
|
|
"ServerGroupClientList"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "Empty",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CreateArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"parent_id",
|
|
"properties"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "EditArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"channel_id",
|
|
"properties"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MoveArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"channel_id",
|
|
"parent_id",
|
|
"order"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DeleteArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"channel_id",
|
|
"force",
|
|
"confirm"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SubscribeArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"subscribe"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SubscribeAllArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"subscribe"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChannelArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "GroupArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"group_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AwayArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"away",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TalkRequestArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"request",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TalkPowerArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"client_id",
|
|
"uid",
|
|
"grant"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BanAddArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"ip",
|
|
"name",
|
|
"uid",
|
|
"duration_s",
|
|
"reason"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "BanDeleteArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"ban_id",
|
|
"confirm"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConfirmArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"confirm"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "KeyAddArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"kind",
|
|
"group_id",
|
|
"channel_id",
|
|
"description"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "TokenArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"token",
|
|
"confirm"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TempAddArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"password",
|
|
"description",
|
|
"duration_s",
|
|
"channel_id",
|
|
"channel_password"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "TempDeleteArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"password",
|
|
"confirm"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ServerEditArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"confirm",
|
|
"properties"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Reply",
|
|
"methods": [
|
|
"rows",
|
|
"notification",
|
|
"collect"
|
|
],
|
|
"properties": [
|
|
"Ack",
|
|
"Rows",
|
|
"Created",
|
|
"Token",
|
|
"GroupCreated",
|
|
"Description",
|
|
"ChannelInfo",
|
|
"Context"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "Live",
|
|
"methods": [],
|
|
"properties": [
|
|
"own_client",
|
|
"server_uid",
|
|
"channel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Map",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"OutCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_types::crypto",
|
|
"specifiers": [
|
|
"encode_password"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::menu",
|
|
"specifiers": [
|
|
"self",
|
|
"Row"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"tapped",
|
|
"is_admin",
|
|
"PrivilegeKeyKind",
|
|
"Properties",
|
|
"channel_create",
|
|
"channel_edit",
|
|
"server_edit",
|
|
"AdminCommand",
|
|
"name",
|
|
"generation",
|
|
"parse",
|
|
"validate",
|
|
"Reply",
|
|
"rows",
|
|
"notification",
|
|
"collect",
|
|
"finish",
|
|
"Live",
|
|
"build",
|
|
"talk_power"
|
|
],
|
|
"totalLines": 1176,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/admin_extra.rs": {
|
|
"filePath": "core/src/admin_extra.rs",
|
|
"contentHash": "0844f13fb283fe8f38a9a7abf83e1a53ad78257033bd05d2f5057f4e8d1ad621",
|
|
"functions": [
|
|
{
|
|
"name": "name",
|
|
"owner": "Command",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "Command",
|
|
"params": [],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "Command",
|
|
"params": [],
|
|
"returnType": "Result<(),ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "Command",
|
|
"params": [
|
|
"live"
|
|
],
|
|
"returnType": "Result<(OutCommand,Reply),ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "group_names",
|
|
"owner": "",
|
|
"params": [
|
|
"kind",
|
|
"op"
|
|
],
|
|
"returnType": "(&'static str,&'static str,&'static str)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "validate_permission_id",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<(),ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate_permissions",
|
|
"owner": "",
|
|
"params": [
|
|
"rows",
|
|
"server"
|
|
],
|
|
"returnType": "Result<(),ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "validate_permission_ids",
|
|
"owner": "",
|
|
"params": [
|
|
"ids"
|
|
],
|
|
"returnType": "Result<(),ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "delete_permission_command",
|
|
"owner": "",
|
|
"params": [
|
|
"verb",
|
|
"key",
|
|
"id",
|
|
"ids"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "permission_command",
|
|
"owner": "",
|
|
"params": [
|
|
"verb",
|
|
"key",
|
|
"id",
|
|
"rows",
|
|
"server"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "recognizes",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<Command,ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "GroupKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Server",
|
|
"Channel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Permission",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"value",
|
|
"negate",
|
|
"skip"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Command",
|
|
"methods": [
|
|
"name",
|
|
"generation",
|
|
"validate",
|
|
"build"
|
|
],
|
|
"properties": [
|
|
"ServerLog",
|
|
"ClientDatabaseList",
|
|
"ClientDatabaseFind",
|
|
"ClientDatabaseDelete",
|
|
"ClientDatabaseId",
|
|
"ServerGroupList",
|
|
"ChannelGroupList",
|
|
"ChannelList",
|
|
"ChannelInfo",
|
|
"ClientInfo",
|
|
"GroupAdd",
|
|
"GroupRename",
|
|
"GroupSetPermissions",
|
|
"ChannelSetPermissions",
|
|
"GroupDelete",
|
|
"GroupDeletePermissions",
|
|
"ChannelDeletePermissions",
|
|
"ServerGroupAddClient",
|
|
"ServerGroupMemberAddUid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 19
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"OutCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"menu"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"GroupKind",
|
|
"Permission",
|
|
"Command",
|
|
"name",
|
|
"generation",
|
|
"validate",
|
|
"build",
|
|
"recognizes",
|
|
"parse"
|
|
],
|
|
"totalLines": 173,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/admin_session.rs": {
|
|
"filePath": "core/src/admin_session.rs",
|
|
"contentHash": "38c23855c49c7833d71180577d7d7c0fbe6ded6fe6e5b45cfcda40716ec328c4",
|
|
"functions": [
|
|
{
|
|
"name": "admin",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 59
|
|
},
|
|
{
|
|
"name": "admin_result",
|
|
"owner": "Session",
|
|
"params": [
|
|
"req",
|
|
"reply",
|
|
"res"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "admin_context",
|
|
"owner": "Session",
|
|
"params": [
|
|
"res"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"admin",
|
|
"admin_result"
|
|
],
|
|
"totalLines": 111,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/app_audio.rs": {
|
|
"filePath": "core/src/app_audio.rs",
|
|
"contentHash": "2843acb5698ab3933202e9b70cd9f9f81df87a7990535f6c5627291ae4dfdcea",
|
|
"functions": [
|
|
{
|
|
"name": "cancel",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_cancelled",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "format",
|
|
"owner": "Sink",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "pcm",
|
|
"owner": "Sink",
|
|
"params": [
|
|
"sequence",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "Capture",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_finished",
|
|
"owner": "Capture",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "recv_timeout",
|
|
"owner": "Capture",
|
|
"params": [
|
|
"timeout"
|
|
],
|
|
"returnType": "Result<CaptureEvent, mpsc::RecvTimeoutError>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "dispatch_pending",
|
|
"owner": "Capture",
|
|
"params": [
|
|
"callback"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "join",
|
|
"owner": "Capture",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "Capture",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "join_worker",
|
|
"owner": "Capture",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "unsupported_reason",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Capture, String>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "spawn_capture",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel",
|
|
"run"
|
|
],
|
|
"returnType": "Result<Capture, String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "ExitCode",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 32
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Cancellation",
|
|
"methods": [
|
|
"cancel",
|
|
"is_cancelled",
|
|
"check"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Format",
|
|
"Pcm"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Sink",
|
|
"methods": [
|
|
"format",
|
|
"pcm"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Capture",
|
|
"methods": [
|
|
"cancel",
|
|
"is_finished",
|
|
"recv_timeout",
|
|
"dispatch_pending",
|
|
"join",
|
|
"stop",
|
|
"join_worker",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"cancel",
|
|
"events",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::process",
|
|
"specifiers": [
|
|
"ExitCode"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::thread",
|
|
"specifiers": [
|
|
"JoinHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Cancellation",
|
|
"cancel",
|
|
"is_cancelled",
|
|
"check",
|
|
"CaptureEvent",
|
|
"Sink",
|
|
"format",
|
|
"pcm",
|
|
"Capture",
|
|
"cancel",
|
|
"is_finished",
|
|
"recv_timeout",
|
|
"dispatch_pending",
|
|
"join",
|
|
"stop",
|
|
"list",
|
|
"capture",
|
|
"run"
|
|
],
|
|
"totalLines": 250,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/app_audio_linux.rs": {
|
|
"filePath": "core/src/app_audio_linux.rs",
|
|
"contentHash": "db93f30b6209a3bc1271990f68e3606a53d1a89795ceb4e7c06c2311a27801dd",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "OwnedChild",
|
|
"params": [
|
|
"child"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "",
|
|
"params": [
|
|
"program"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "output",
|
|
"owner": "",
|
|
"params": [
|
|
"program",
|
|
"args",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<u8>, String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "collect_output",
|
|
"owner": "",
|
|
"params": [
|
|
"child",
|
|
"program",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<u8>, String>",
|
|
"exported": false,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"owner": "",
|
|
"params": [
|
|
"kind",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<Value>, String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "process_stat",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Option<(u32, u64)>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "",
|
|
"params": [
|
|
"pid"
|
|
],
|
|
"returnType": "Result<(u32, u64), String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "application",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"sinks",
|
|
"start_time",
|
|
"ancestors"
|
|
],
|
|
"returnType": "Option<Application>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "applications",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<Application>, String>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "prerequisites",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"cancel",
|
|
"sink"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "capture_inner",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"cancel",
|
|
"sink"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 60
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "OwnedChild",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"child",
|
|
"readers"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "EndForwarding",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Application",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"pid",
|
|
"ancestors",
|
|
"index",
|
|
"monitor"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::process",
|
|
"specifiers": [
|
|
"Child",
|
|
"Command",
|
|
"Stdio"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Cancellation",
|
|
"Sink"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"list",
|
|
"capture"
|
|
],
|
|
"totalLines": 322,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/app_audio_windows.rs": {
|
|
"filePath": "core/src/app_audio_windows.rs",
|
|
"contentHash": "f2fe9511c93453704f77af6cc3591cf6be33b5fb2f88043fef504c12a93b3b33",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Com",
|
|
"params": [],
|
|
"returnType": "Result<Self, String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "supported",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "",
|
|
"params": [
|
|
"pid"
|
|
],
|
|
"returnType": "Result<(Handle, String, String), String>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "parents",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<BTreeMap<u32, u32>, String>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "applications",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<Application>, String>",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<serde_json::Value, String>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "ActivateCompleted",
|
|
"owner": null,
|
|
"params": [
|
|
"_operation"
|
|
],
|
|
"returnType": "windows::core::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "activate",
|
|
"owner": "",
|
|
"params": [
|
|
"pid",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<IAudioClient, String>",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"cancel",
|
|
"sink"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "capture_inner",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"cancel",
|
|
"sink"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 68
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Com",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Handle",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Started",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Application",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"pid",
|
|
"ancestors"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Completion",
|
|
"methods": [],
|
|
"properties": [
|
|
"tx",
|
|
"_params"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"BTreeSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Cancellation",
|
|
"Sink"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::core",
|
|
"specifiers": [
|
|
"implement",
|
|
"Interface",
|
|
"HRESULT",
|
|
"PCWSTR",
|
|
"PWSTR"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::Foundation",
|
|
"specifiers": [
|
|
"CloseHandle",
|
|
"FILETIME",
|
|
"HANDLE",
|
|
"WAIT_OBJECT_0",
|
|
"WAIT_TIMEOUT"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::Media::Audio",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::Com",
|
|
"specifiers": [
|
|
"CoCreateInstance",
|
|
"CoInitializeEx",
|
|
"CoUninitialize",
|
|
"CLSCTX_ALL",
|
|
"COINIT_MULTITHREADED",
|
|
"BLOB"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::Com::StructuredStorage",
|
|
"specifiers": [
|
|
"PROPVARIANT"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::Diagnostics::ToolHelp",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::SystemInformation",
|
|
"specifiers": [
|
|
"OSVERSIONINFOW"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::Threading",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows::Win32::System::Variant",
|
|
"specifiers": [
|
|
"VT_BLOB"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"list",
|
|
"capture"
|
|
],
|
|
"totalLines": 265,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/audio.rs": {
|
|
"filePath": "core/src/audio.rs",
|
|
"contentHash": "0a45c94796cb45c6d2bea69ccbfcf359c98fcdcd1b6f2b98edf801a53b888357",
|
|
"functions": [
|
|
{
|
|
"name": "is_frame",
|
|
"owner": "AudioIn",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "epoch",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate_at",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"frame",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "with_valid_frame",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"frame",
|
|
"send"
|
|
],
|
|
"returnType": "Option<R>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "invalidate_locked",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"q"
|
|
],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "invalidate",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "set_generation",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "try_push",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "push",
|
|
"owner": "AudioInQueue",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "len",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pop",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "Option<AudioIn>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "notified",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_dropped",
|
|
"owner": "AudioInQueue",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "with_valid_audio",
|
|
"owner": null,
|
|
"params": [
|
|
"metadata",
|
|
"send"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "for_channel",
|
|
"owner": "TxCodec",
|
|
"params": [
|
|
"codec"
|
|
],
|
|
"returnType": "Option<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "codec_type",
|
|
"owner": "TxCodec",
|
|
"params": [],
|
|
"returnType": "CodecType",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "bitrate",
|
|
"owner": "TxCodec",
|
|
"params": [
|
|
"quality"
|
|
],
|
|
"returnType": "i32",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "codec_name",
|
|
"owner": "",
|
|
"params": [
|
|
"codec"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "TxEncoder",
|
|
"params": [
|
|
"codec",
|
|
"quality"
|
|
],
|
|
"returnType": "Result<Self, audiopus::Error>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "matches",
|
|
"owner": "TxEncoder",
|
|
"params": [
|
|
"codec",
|
|
"quality"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "codec",
|
|
"owner": "TxEncoder",
|
|
"params": [],
|
|
"returnType": "TxCodec",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "encode",
|
|
"owner": "TxEncoder",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Result<OutPacket, audiopus::Error>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "encode_to",
|
|
"owner": "TxEncoder",
|
|
"params": [
|
|
"frame",
|
|
"whisper"
|
|
],
|
|
"returnType": "Result<OutPacket, audiopus::Error>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "end_of_voice",
|
|
"owner": "",
|
|
"params": [
|
|
"codec"
|
|
],
|
|
"returnType": "OutPacket",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "end_of_whisper",
|
|
"owner": "",
|
|
"params": [
|
|
"codec",
|
|
"route"
|
|
],
|
|
"returnType": "OutPacket",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Receiver",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "set_playback_agc",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "Receiver",
|
|
"params": [],
|
|
"returnType": "Vec<u16>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "remove_client",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "set_deny_whispers",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"deny"
|
|
],
|
|
"returnType": "Vec<u16>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "take_whisper_starts",
|
|
"owner": "Receiver",
|
|
"params": [],
|
|
"returnType": "std::vec::Drain<'_, u16>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle_packet",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"packet"
|
|
],
|
|
"returnType": "RxEvent",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "mix",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"out",
|
|
"gain"
|
|
],
|
|
"returnType": "Mixed<'_>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mix_tapped",
|
|
"owner": "Receiver",
|
|
"params": [
|
|
"out",
|
|
"gain",
|
|
"tap"
|
|
],
|
|
"returnType": "Mixed<'_>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "audio_event_line",
|
|
"owner": "",
|
|
"params": [
|
|
"pcm",
|
|
"speakers"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CapturedFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"pcm",
|
|
"captured_at",
|
|
"connection_generation",
|
|
"capture_epoch",
|
|
"whisper"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "AudioIn",
|
|
"methods": [
|
|
"is_frame"
|
|
],
|
|
"properties": [
|
|
"Frame",
|
|
"End"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "AudioInQueue",
|
|
"methods": [
|
|
"new",
|
|
"epoch",
|
|
"generation",
|
|
"validate",
|
|
"validate_at",
|
|
"with_valid_frame",
|
|
"invalidate_locked",
|
|
"invalidate",
|
|
"set_generation",
|
|
"try_push",
|
|
"push",
|
|
"len",
|
|
"pop",
|
|
"clear",
|
|
"notified",
|
|
"take_dropped",
|
|
"with_valid_audio"
|
|
],
|
|
"properties": [
|
|
"items",
|
|
"notify",
|
|
"dropped",
|
|
"capture_epoch",
|
|
"connection_generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "TxCodec",
|
|
"methods": [
|
|
"for_channel",
|
|
"codec_type",
|
|
"bitrate"
|
|
],
|
|
"properties": [
|
|
"OpusVoice",
|
|
"OpusMusic"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "TxEncoder",
|
|
"methods": [
|
|
"new",
|
|
"matches",
|
|
"codec",
|
|
"encode",
|
|
"encode_to"
|
|
],
|
|
"properties": [
|
|
"encoder",
|
|
"codec",
|
|
"quality",
|
|
"stereo",
|
|
"out"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "RxEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"None",
|
|
"Started",
|
|
"Unsupported"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Receiver",
|
|
"methods": [
|
|
"new",
|
|
"set_playback_agc",
|
|
"reset",
|
|
"remove_client",
|
|
"set_deny_whispers",
|
|
"take_whisper_starts",
|
|
"handle_packet",
|
|
"mix",
|
|
"mix_tapped"
|
|
],
|
|
"properties": [
|
|
"handler",
|
|
"mix",
|
|
"speakers",
|
|
"unsupported_reported",
|
|
"whisperers",
|
|
"whisper_starts",
|
|
"deny_whispers",
|
|
"whispering_now",
|
|
"dsp"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "Mixed",
|
|
"methods": [],
|
|
"properties": [
|
|
"speakers",
|
|
"stopped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashSet",
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "audiopus::coder",
|
|
"specifiers": [
|
|
"Encoder"
|
|
]
|
|
},
|
|
{
|
|
"source": "audiopus",
|
|
"specifiers": [
|
|
"Application",
|
|
"Bitrate",
|
|
"Channels",
|
|
"SampleRate"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"Notify"
|
|
]
|
|
},
|
|
{
|
|
"source": "tracing",
|
|
"specifiers": [
|
|
"debug"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::audio",
|
|
"specifiers": [
|
|
"AudioHandler"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"ClientId",
|
|
"Codec"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"AudioData",
|
|
"CodecType",
|
|
"InAudioBuf",
|
|
"OutAudio",
|
|
"OutPacket"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"Frame",
|
|
"FRAME_BYTES",
|
|
"FRAME_SAMPLES"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CapturedFrame",
|
|
"AudioIn",
|
|
"AudioInQueue",
|
|
"new",
|
|
"epoch",
|
|
"generation",
|
|
"validate",
|
|
"with_valid_frame",
|
|
"invalidate",
|
|
"set_generation",
|
|
"try_push",
|
|
"push",
|
|
"pop",
|
|
"clear",
|
|
"notified",
|
|
"take_dropped",
|
|
"TxCodec",
|
|
"for_channel",
|
|
"codec_name",
|
|
"TxEncoder",
|
|
"new",
|
|
"matches",
|
|
"codec",
|
|
"encode",
|
|
"encode_to",
|
|
"end_of_voice",
|
|
"end_of_whisper",
|
|
"RxEvent",
|
|
"Receiver",
|
|
"Mixed",
|
|
"new",
|
|
"set_playback_agc",
|
|
"reset",
|
|
"remove_client",
|
|
"set_deny_whispers",
|
|
"take_whisper_starts",
|
|
"handle_packet",
|
|
"mix",
|
|
"mix_tapped",
|
|
"audio_event_line"
|
|
],
|
|
"totalLines": 1025,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/events.rs": {
|
|
"filePath": "core/src/events.rs",
|
|
"contentHash": "c97b8f591affa0182012114488b29c49e7eb2b6bd4946d1cbe8907808ff41821",
|
|
"functions": [
|
|
{
|
|
"name": "tapped",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "num",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"key"
|
|
],
|
|
"returnType": "Option<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "invoker",
|
|
"owner": "",
|
|
"params": [
|
|
"row"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "reason",
|
|
"owner": "",
|
|
"params": [
|
|
"row"
|
|
],
|
|
"returnType": "(Value, Value)",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "base",
|
|
"owner": "",
|
|
"params": [
|
|
"kind",
|
|
"row"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "from_raw",
|
|
"owner": "",
|
|
"params": [
|
|
"raw",
|
|
"extras",
|
|
"own_client"
|
|
],
|
|
"returnType": "Vec<Value>",
|
|
"exported": true,
|
|
"lineCount": 84
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::snapshot",
|
|
"specifiers": [
|
|
"RawExtras"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"tapped",
|
|
"from_raw"
|
|
],
|
|
"totalLines": 182,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/file_transfer.rs": {
|
|
"filePath": "core/src/file_transfer.rs",
|
|
"contentHash": "0310f7a3e20ff2113d9a1b2159aea2a5e4c865909b9a5cf9080997f368177879",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "io_err",
|
|
"owner": "",
|
|
"params": [
|
|
"what",
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "Request",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "RateLimit",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "acquire",
|
|
"owner": "RateLimit",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "args",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "channel",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<u64, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "check_password",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check_host_path",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"path"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "transfer_channel",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"path"
|
|
],
|
|
"returnType": "Result<u64, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "wire_name",
|
|
"owner": "",
|
|
"params": [
|
|
"channel_id",
|
|
"path"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<Request, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 46
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "remote_component",
|
|
"owner": "",
|
|
"params": [
|
|
"c"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "check_path_text",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "remote_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<String, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "check_remote_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "remote_item",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<String, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "check_remote_item",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "file_name",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parent_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "local_component",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "field",
|
|
"owner": "",
|
|
"params": [
|
|
"items",
|
|
"i",
|
|
"key"
|
|
],
|
|
"returnType": "Option<&'a str>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "same_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list_entry",
|
|
"owner": "",
|
|
"params": [
|
|
"items",
|
|
"i"
|
|
],
|
|
"returnType": "Option<Value>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "as_str",
|
|
"owner": "Direction",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "slot",
|
|
"owner": "Direction",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "names_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"file"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "upload_source_unchanged",
|
|
"owner": "",
|
|
"params": [
|
|
"file",
|
|
"size",
|
|
"modified"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "intact",
|
|
"owner": "Partial",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "into_parts",
|
|
"owner": "Partial",
|
|
"params": [],
|
|
"returnType": "(File, PathBuf, u64)",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "CommitControl",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "begin_commit",
|
|
"owner": "CommitControl",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "halted",
|
|
"owner": "",
|
|
"params": [
|
|
"rx"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ftid",
|
|
"owner": "Transfer",
|
|
"params": [],
|
|
"returnType": "Option<u16>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "state",
|
|
"owner": "Transfer",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "in_progress",
|
|
"owner": "Transfer",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "resume_args",
|
|
"owner": "Transfer",
|
|
"params": [
|
|
"resume"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "resume_at",
|
|
"owner": "Transfer",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "keep",
|
|
"owner": "Transfer",
|
|
"params": [
|
|
"partial"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "interrupt",
|
|
"owner": "Transfer",
|
|
"params": [],
|
|
"returnType": "Interrupt",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "stream_stopped",
|
|
"owner": "Transfer",
|
|
"params": [
|
|
"partial",
|
|
"lost",
|
|
"now"
|
|
],
|
|
"returnType": "Stopped",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "event",
|
|
"owner": "Transfer",
|
|
"params": [
|
|
"state",
|
|
"error"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "tapped",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "owns_handle",
|
|
"owner": "Files",
|
|
"params": [
|
|
"handle"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "owns_ftid",
|
|
"owner": "Files",
|
|
"params": [
|
|
"ftid"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "next_transfer_id",
|
|
"owner": "Files",
|
|
"params": [],
|
|
"returnType": "u32",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "index_of_ftid",
|
|
"owner": "Files",
|
|
"params": [
|
|
"ftid"
|
|
],
|
|
"returnType": "Option<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "index_of_id",
|
|
"owner": "Files",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "require_legacy",
|
|
"owner": "Files",
|
|
"params": [],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "storage",
|
|
"owner": "Files",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "apply_raw",
|
|
"owner": "Files",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Vec<u16>",
|
|
"exported": true,
|
|
"lineCount": 55
|
|
},
|
|
{
|
|
"name": "list_for",
|
|
"owner": "Files",
|
|
"params": [
|
|
"items",
|
|
"i"
|
|
],
|
|
"returnType": "Option<u16>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "list_pending",
|
|
"owner": "Files",
|
|
"params": [
|
|
"channel_id",
|
|
"path"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"owner": "Files",
|
|
"params": [
|
|
"direction",
|
|
"channel_id"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "in_progress_of",
|
|
"owner": "Files",
|
|
"params": [
|
|
"direction",
|
|
"channel_id"
|
|
],
|
|
"returnType": "Vec<usize>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "next_startable",
|
|
"owner": "Files",
|
|
"params": [
|
|
"direction"
|
|
],
|
|
"returnType": "Option<usize>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "over_limit",
|
|
"owner": "Files",
|
|
"params": [],
|
|
"returnType": "Vec<u32>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "make_space",
|
|
"owner": "Files",
|
|
"params": [
|
|
"direction",
|
|
"channel_id"
|
|
],
|
|
"returnType": "Vec<u32>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "list_result",
|
|
"owner": "",
|
|
"params": [
|
|
"job",
|
|
"capabilities",
|
|
"storage"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "capabilities",
|
|
"owner": "",
|
|
"params": [
|
|
"hints"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "prepare_download",
|
|
"owner": "",
|
|
"params": [
|
|
"dest_dir",
|
|
"subdirs",
|
|
"name",
|
|
"overwrite"
|
|
],
|
|
"returnType": "Result<PathBuf, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "exists_error",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "prepare_upload",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Result<(File, u64), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "create_temp",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"id"
|
|
],
|
|
"returnType": "Result<(File, PathBuf), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "finalize",
|
|
"owner": "",
|
|
"params": [
|
|
"temp",
|
|
"target",
|
|
"overwrite",
|
|
"name"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "disk_writer",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"id",
|
|
"overwrite",
|
|
"name",
|
|
"rx",
|
|
"back",
|
|
"control",
|
|
"resume"
|
|
],
|
|
"returnType": "Result<Written, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 72
|
|
},
|
|
{
|
|
"name": "buffers",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "(mpsc::Sender<Vec<u8>>, mpsc::Receiver<Vec<u8>>)",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "download",
|
|
"owner": "",
|
|
"params": [
|
|
"stream",
|
|
"size",
|
|
"id",
|
|
"dir",
|
|
"name",
|
|
"overwrite",
|
|
"resume",
|
|
"progress",
|
|
"control",
|
|
"rate",
|
|
"halt"
|
|
],
|
|
"returnType": "Result<Ended, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 76
|
|
},
|
|
{
|
|
"name": "disk_reader",
|
|
"owner": "",
|
|
"params": [
|
|
"file",
|
|
"size",
|
|
"tx",
|
|
"back"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "upload",
|
|
"owner": "",
|
|
"params": [
|
|
"stream",
|
|
"file",
|
|
"size",
|
|
"seek",
|
|
"progress",
|
|
"rate",
|
|
"halt"
|
|
],
|
|
"returnType": "Result<Ended, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 83
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Request",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"List",
|
|
"Mkdir",
|
|
"Rename",
|
|
"Delete",
|
|
"Download",
|
|
"Upload",
|
|
"Cancel",
|
|
"Pause",
|
|
"Resume",
|
|
"FetchImage",
|
|
"Transfers",
|
|
"Config"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "ImageArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"path"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "PathArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"path",
|
|
"channel_password"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "RenameArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"from",
|
|
"to",
|
|
"channel_password",
|
|
"target_channel_id",
|
|
"target_channel_password"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "DeleteArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"paths",
|
|
"channel_password"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "DownloadArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"path",
|
|
"channel_password",
|
|
"dest_dir",
|
|
"subdirs",
|
|
"overwrite"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "UploadArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"path",
|
|
"channel_password",
|
|
"source",
|
|
"overwrite"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "CancelArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"transfer_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "Empty",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConfigArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"download_slots",
|
|
"upload_slots",
|
|
"download_limit",
|
|
"upload_limit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "RateLimit",
|
|
"methods": [
|
|
"set",
|
|
"acquire"
|
|
],
|
|
"properties": [
|
|
"bytes_per_second",
|
|
"next"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ListJob",
|
|
"methods": [],
|
|
"properties": [
|
|
"req",
|
|
"channel_id",
|
|
"path",
|
|
"entries",
|
|
"malformed",
|
|
"overflow",
|
|
"finished",
|
|
"result_ok",
|
|
"started"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Direction",
|
|
"methods": [
|
|
"as_str",
|
|
"slot"
|
|
],
|
|
"properties": [
|
|
"Download",
|
|
"Upload"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Local",
|
|
"methods": [],
|
|
"properties": [
|
|
"Download",
|
|
"Upload"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Partial",
|
|
"methods": [
|
|
"intact",
|
|
"into_parts",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"temp",
|
|
"written"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Ended",
|
|
"methods": [],
|
|
"properties": [
|
|
"Complete",
|
|
"Paused",
|
|
"Lost"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Stage",
|
|
"methods": [],
|
|
"properties": [
|
|
"Queued",
|
|
"Init",
|
|
"Running",
|
|
"Pausing",
|
|
"Confirming",
|
|
"Lost",
|
|
"Paused"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "Interrupt",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ignore",
|
|
"Halting",
|
|
"PausedNow",
|
|
"Fail"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Stopped",
|
|
"methods": [],
|
|
"properties": [
|
|
"Paused",
|
|
"Waiting",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "CommitControl",
|
|
"methods": [
|
|
"cancel",
|
|
"begin_commit"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CancelOnDrop",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Transfer",
|
|
"methods": [
|
|
"ftid",
|
|
"state",
|
|
"in_progress",
|
|
"resume_args",
|
|
"resume_at",
|
|
"keep",
|
|
"interrupt",
|
|
"stream_stopped",
|
|
"event",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"direction",
|
|
"channel_id",
|
|
"path",
|
|
"cpw",
|
|
"overwrite",
|
|
"local",
|
|
"total",
|
|
"stage",
|
|
"server_ftid",
|
|
"confirmed",
|
|
"progress",
|
|
"commit",
|
|
"reported",
|
|
"seen",
|
|
"last_change",
|
|
"last_emit",
|
|
"started",
|
|
"interrupted",
|
|
"granted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "Tombstone",
|
|
"methods": [],
|
|
"properties": [
|
|
"since",
|
|
"server_ftid",
|
|
"direction",
|
|
"keep"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Files",
|
|
"methods": [
|
|
"owns_handle",
|
|
"owns_ftid",
|
|
"next_transfer_id",
|
|
"index_of_ftid",
|
|
"index_of_id",
|
|
"require_legacy",
|
|
"storage",
|
|
"apply_raw",
|
|
"list_for",
|
|
"list_pending",
|
|
"limit",
|
|
"in_progress_of",
|
|
"next_startable",
|
|
"over_limit",
|
|
"make_space"
|
|
],
|
|
"properties": [
|
|
"next_id",
|
|
"lists",
|
|
"simple",
|
|
"inits",
|
|
"stops",
|
|
"transfers",
|
|
"tombstones",
|
|
"capability_extensions",
|
|
"slots",
|
|
"start_seq",
|
|
"download_rate",
|
|
"upload_rate"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "TempGuard",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ToDisk",
|
|
"methods": [],
|
|
"properties": [
|
|
"Data",
|
|
"Commit",
|
|
"Pause"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Written",
|
|
"methods": [],
|
|
"properties": [
|
|
"Published",
|
|
"Paused"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"File",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU8",
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant",
|
|
"SystemTime"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json::value",
|
|
"specifiers": [
|
|
"RawValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::io",
|
|
"specifiers": [
|
|
"AsyncReadExt",
|
|
"AsyncWriteExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::net",
|
|
"specifiers": [
|
|
"TcpStream"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::task",
|
|
"specifiers": [
|
|
"JoinHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"cancelled",
|
|
"Request",
|
|
"name",
|
|
"RateLimit",
|
|
"set",
|
|
"acquire",
|
|
"wire_name",
|
|
"parse",
|
|
"validate",
|
|
"remote_component",
|
|
"remote_dir",
|
|
"remote_item",
|
|
"file_name",
|
|
"parent_dir",
|
|
"local_component",
|
|
"ListJob",
|
|
"Direction",
|
|
"as_str",
|
|
"slot",
|
|
"Local",
|
|
"upload_source_unchanged",
|
|
"Partial",
|
|
"intact",
|
|
"Ended",
|
|
"Stage",
|
|
"Interrupt",
|
|
"Stopped",
|
|
"CommitControl",
|
|
"cancel",
|
|
"Transfer",
|
|
"ftid",
|
|
"state",
|
|
"in_progress",
|
|
"resume_args",
|
|
"resume_at",
|
|
"interrupt",
|
|
"stream_stopped",
|
|
"event",
|
|
"Tombstone",
|
|
"Files",
|
|
"tapped",
|
|
"owns_handle",
|
|
"owns_ftid",
|
|
"next_transfer_id",
|
|
"index_of_ftid",
|
|
"index_of_id",
|
|
"require_legacy",
|
|
"storage",
|
|
"apply_raw",
|
|
"list_pending",
|
|
"limit",
|
|
"in_progress_of",
|
|
"next_startable",
|
|
"over_limit",
|
|
"make_space",
|
|
"list_result",
|
|
"capabilities",
|
|
"prepare_download",
|
|
"exists_error",
|
|
"prepare_upload",
|
|
"download",
|
|
"upload"
|
|
],
|
|
"totalLines": 2293,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/files_session.rs": {
|
|
"filePath": "core/src/files_session.rs",
|
|
"contentHash": "d2ded7b0bac896bd7466413d1d94c9c495458649432bdf3c4022d84ee4bb7da5",
|
|
"functions": [
|
|
{
|
|
"name": "cpw",
|
|
"owner": "",
|
|
"params": [
|
|
"password"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "internal",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "not_active",
|
|
"owner": "",
|
|
"params": [
|
|
"transfer_id"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ts_id",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "Option<u32>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "stream_error",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "init_error",
|
|
"owner": "",
|
|
"params": [
|
|
"e",
|
|
"name"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "channel_known",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"channel_id"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "send_stop",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"server_ftid",
|
|
"direction",
|
|
"keep"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"ftid",
|
|
"server_ftid",
|
|
"direction",
|
|
"keep"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "retire",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"t"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "halt",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"i"
|
|
],
|
|
"returnType": "Option<Value>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"i",
|
|
"resume"
|
|
],
|
|
"returnType": "Result<Value, (Value, ErrorObj)>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "delete_command",
|
|
"owner": "",
|
|
"params": [
|
|
"channel_id",
|
|
"hashed_cpw",
|
|
"paths"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "init_command",
|
|
"owner": "",
|
|
"params": [
|
|
"direction",
|
|
"ftid",
|
|
"channel_id",
|
|
"path",
|
|
"hashed_cpw",
|
|
"total",
|
|
"overwrite",
|
|
"resume"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "files_request",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"request"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 115
|
|
},
|
|
{
|
|
"name": "files_simple",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"channel_id",
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "files_enqueue",
|
|
"owner": "Session",
|
|
"params": [
|
|
"direction",
|
|
"channel_id",
|
|
"path",
|
|
"password",
|
|
"overwrite",
|
|
"local",
|
|
"total"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 43
|
|
},
|
|
{
|
|
"name": "files_cancel",
|
|
"owner": "Session",
|
|
"params": [
|
|
"transfer_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "files_resume",
|
|
"owner": "Session",
|
|
"params": [
|
|
"transfer_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "files_pump",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "files_answer_list",
|
|
"owner": "Session",
|
|
"params": [
|
|
"handle"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "files_result",
|
|
"owner": "Session",
|
|
"params": [
|
|
"handle",
|
|
"res"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 47
|
|
},
|
|
{
|
|
"name": "files_raw",
|
|
"owner": "Session",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "files_download",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ftid",
|
|
"result"
|
|
],
|
|
"returnType": "Option<FileDownloadResult>",
|
|
"exported": true,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "files_upload",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ftid",
|
|
"result"
|
|
],
|
|
"returnType": "Option<FileUploadResult>",
|
|
"exported": true,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "files_refuse_grant",
|
|
"owner": "Session",
|
|
"params": [
|
|
"i",
|
|
"error"
|
|
],
|
|
"returnType": "Option<R>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "files_failed",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ftid",
|
|
"err"
|
|
],
|
|
"returnType": "Option<tsclientlib::Error>",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "files_fail_all",
|
|
"owner": "Session",
|
|
"params": [
|
|
"why"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "files_tick",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 122
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "futures",
|
|
"specifiers": [
|
|
"FutureExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"FileDownloadResult",
|
|
"FileUploadResult"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::file_transfer",
|
|
"specifiers": [
|
|
"Direction",
|
|
"Ended",
|
|
"ListJob",
|
|
"Local",
|
|
"Partial",
|
|
"Request",
|
|
"Stage",
|
|
"Tombstone",
|
|
"Transfer"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"files_request",
|
|
"files_result",
|
|
"files_raw",
|
|
"files_download",
|
|
"files_upload",
|
|
"files_failed",
|
|
"files_fail_all",
|
|
"files_tick"
|
|
],
|
|
"totalLines": 842,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys.rs": {
|
|
"filePath": "core/src/hotkeys.rs",
|
|
"contentHash": "97e8b4cf6cf8b87d88ae75ff16dd917690ba02f475073b0ac4056417d236a28b",
|
|
"functions": [
|
|
{
|
|
"name": "modifiers",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"returnType": "u8",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "success",
|
|
"owner": "BindResult",
|
|
"params": [
|
|
"binding",
|
|
"trigger"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "failure",
|
|
"owner": "BindResult",
|
|
"params": [
|
|
"binding",
|
|
"error",
|
|
"detail"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "transition",
|
|
"owner": "State",
|
|
"params": [
|
|
"id",
|
|
"down"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "release_all",
|
|
"owner": "State",
|
|
"params": [
|
|
"out"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "event",
|
|
"owner": "State",
|
|
"params": [
|
|
"event",
|
|
"out"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "",
|
|
"params": [
|
|
"out",
|
|
"value"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate_bindings",
|
|
"owner": "",
|
|
"params": [
|
|
"bindings"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"line"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "read_line",
|
|
"owner": "",
|
|
"params": [
|
|
"input",
|
|
"line"
|
|
],
|
|
"returnType": "io::Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "open_backend",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<Box<dyn Backend>>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"owner": null,
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "std::fmt::Result",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update",
|
|
"owner": "HotkeyHandle",
|
|
"params": [
|
|
"seq",
|
|
"bindings"
|
|
],
|
|
"returnType": "Result<(), HotkeyError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "HotkeyHandle",
|
|
"params": [],
|
|
"returnType": "Result<(), HotkeyError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "HotkeyHandle",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "HotkeyHandle",
|
|
"params": [
|
|
"callback"
|
|
],
|
|
"returnType": "Result<usize, HotkeyError>",
|
|
"exported": true,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<HotkeyHandle, HotkeyError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "start_with_backend",
|
|
"owner": "",
|
|
"params": [
|
|
"factory"
|
|
],
|
|
"returnType": "Result<HotkeyHandle, HotkeyError>",
|
|
"exported": false,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "serve",
|
|
"owner": "",
|
|
"params": [
|
|
"backend",
|
|
"rx",
|
|
"cancelled",
|
|
"out"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "std::result::Result<(), Box<dyn std::error::Error>>",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Command",
|
|
"methods": [],
|
|
"properties": [
|
|
"Bind",
|
|
"Shutdown"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Binding",
|
|
"methods": [
|
|
"modifiers"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"code",
|
|
"ctrl",
|
|
"alt",
|
|
"shift",
|
|
"meta",
|
|
"description"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "BindResult",
|
|
"methods": [
|
|
"success",
|
|
"failure"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"ok",
|
|
"error",
|
|
"trigger",
|
|
"detail"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Event",
|
|
"methods": [],
|
|
"properties": [
|
|
"Bound",
|
|
"Rebound",
|
|
"Key"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Backend",
|
|
"methods": [
|
|
"name",
|
|
"bind",
|
|
"poll",
|
|
"clear"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [
|
|
"transition",
|
|
"release_all",
|
|
"event"
|
|
],
|
|
"properties": [
|
|
"registered"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "HotkeyError",
|
|
"methods": [
|
|
"fmt"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HotkeyHandle",
|
|
"methods": [
|
|
"update",
|
|
"stop",
|
|
"cancel",
|
|
"dispatch",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"cancelled",
|
|
"worker",
|
|
"events",
|
|
"held",
|
|
"terminal",
|
|
"terminal_delivered"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::error",
|
|
"specifiers": [
|
|
"Error"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"self",
|
|
"BufRead",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::thread",
|
|
"specifiers": [
|
|
"JoinHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Binding",
|
|
"HotkeyError",
|
|
"HotkeyHandle",
|
|
"update",
|
|
"stop",
|
|
"dispatch",
|
|
"start",
|
|
"run"
|
|
],
|
|
"totalLines": 434,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys/keys.rs": {
|
|
"filePath": "core/src/hotkeys/keys.rs",
|
|
"contentHash": "8e51ddccbb9e1ac1511f3bd16231de85802eeb001518bb404529998cb1b0ab22",
|
|
"functions": [
|
|
{
|
|
"name": "lookup",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "Option<Key>",
|
|
"exported": true,
|
|
"lineCount": 58
|
|
},
|
|
{
|
|
"name": "trigger",
|
|
"owner": "",
|
|
"params": [
|
|
"binding",
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Key",
|
|
"methods": [],
|
|
"properties": [
|
|
"windows",
|
|
"x11",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Binding"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Key",
|
|
"lookup",
|
|
"trigger"
|
|
],
|
|
"totalLines": 77,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys/portal.rs": {
|
|
"filePath": "core/src/hotkeys/portal.rs",
|
|
"contentHash": "99ae56b9ab2666b33eff9191c6d919e3b2bf48d5a8aaead59df849ad608917bb",
|
|
"functions": [
|
|
{
|
|
"name": "option",
|
|
"owner": "",
|
|
"params": [
|
|
"map",
|
|
"key",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Portal",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "token",
|
|
"owner": "Portal",
|
|
"params": [
|
|
"suffix"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "Portal",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "request_bind",
|
|
"owner": "Portal",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "results",
|
|
"owner": "Portal",
|
|
"params": [
|
|
"shortcuts",
|
|
"denied"
|
|
],
|
|
"returnType": "Vec<BindResult>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "Portal",
|
|
"params": [
|
|
"path",
|
|
"interface"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "shortcuts",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<HashMap<String, String>>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": null,
|
|
"params": [
|
|
"seq",
|
|
"bindings",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "poll",
|
|
"owner": null,
|
|
"params": [
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 61
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Stage",
|
|
"methods": [],
|
|
"properties": [
|
|
"Creating",
|
|
"Binding"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Pending",
|
|
"methods": [],
|
|
"properties": [
|
|
"path",
|
|
"stage",
|
|
"started"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Portal",
|
|
"methods": [
|
|
"new",
|
|
"token",
|
|
"create",
|
|
"request_bind",
|
|
"results",
|
|
"close",
|
|
"name",
|
|
"bind",
|
|
"poll",
|
|
"clear",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"connection",
|
|
"incoming",
|
|
"overflow",
|
|
"owner",
|
|
"generation",
|
|
"session",
|
|
"pending",
|
|
"bindings",
|
|
"seq",
|
|
"bound"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"keys",
|
|
"Backend",
|
|
"BindResult",
|
|
"Binding",
|
|
"Event",
|
|
"Result",
|
|
"MAX_BINDINGS"
|
|
]
|
|
},
|
|
{
|
|
"source": "dbus::arg",
|
|
"specifiers": [
|
|
"PropMap",
|
|
"RefArg",
|
|
"Variant"
|
|
]
|
|
},
|
|
{
|
|
"source": "dbus::blocking",
|
|
"specifiers": [
|
|
"stdintf::org_freedesktop_dbus::Properties",
|
|
"Connection"
|
|
]
|
|
},
|
|
{
|
|
"source": "dbus::channel",
|
|
"specifiers": [
|
|
"MatchingReceiver"
|
|
]
|
|
},
|
|
{
|
|
"source": "dbus::message",
|
|
"specifiers": [
|
|
"MatchRule"
|
|
]
|
|
},
|
|
{
|
|
"source": "dbus",
|
|
"specifiers": [
|
|
"Message",
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Portal",
|
|
"new"
|
|
],
|
|
"totalLines": 261,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys/tests.rs": {
|
|
"filePath": "core/src/hotkeys/tests.rs",
|
|
"contentHash": "8285c8b690b2e2406516a87ed4493314f0fab2c62c3daad4aa4ca0181ffd9ec5",
|
|
"functions": [
|
|
{
|
|
"name": "binding",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"code"
|
|
],
|
|
"returnType": "Binding",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "accepts_helper_wire_commands",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "rejects_unknown_fields_wrong_types_and_duplicate_chords",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "limits_binding_count_and_text_before_backend_access",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "bounded_reader_handles_chunk_boundaries_crlf_and_final_line",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "oversized_unterminated_input_never_grows_past_limit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ignores_unknown_ids_and_repeat_transitions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "replacement_releases_held_ids_before_new_bound_event",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "shutdown_and_failure_release_all_once",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "broken_stdout_still_clears_all_held_state",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "key_allowlist_and_portal_trigger_are_explicit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": null,
|
|
"params": [
|
|
"seq",
|
|
"bindings",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "poll",
|
|
"owner": null,
|
|
"params": [
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fake_service",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Fixture",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "eventually",
|
|
"owner": "",
|
|
"params": [
|
|
"condition"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "dispatch_until",
|
|
"owner": "",
|
|
"params": [
|
|
"handle",
|
|
"messages",
|
|
"event",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "native_profiles_release_before_replace_and_join_before_restart",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "stalled_event_consumer_unregisters_and_receives_final_release_on_overflow",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "callback_failure_cancels_without_stranding_consumer_held_key",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "dropping_service_requests_cleanup_without_dispatch",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FakeBackend",
|
|
"methods": [
|
|
"name",
|
|
"bind",
|
|
"poll",
|
|
"clear",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"binds",
|
|
"clears",
|
|
"dropped",
|
|
"bursts",
|
|
"active"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Fixture",
|
|
"methods": [],
|
|
"properties": [
|
|
"handle",
|
|
"binds",
|
|
"clears",
|
|
"dropped",
|
|
"bursts"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"BufReader",
|
|
"Cursor"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 295,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys/windows.rs": {
|
|
"filePath": "core/src/hotkeys/windows.rs",
|
|
"contentHash": "5eadbdfbc790b61141efab8474f1277086f5a76c666f920dbbfa63b31c59227c",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Windows",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": null,
|
|
"params": [
|
|
"seq",
|
|
"bindings",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "poll",
|
|
"owner": null,
|
|
"params": [
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Registered",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"id",
|
|
"vk",
|
|
"held"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Windows",
|
|
"methods": [
|
|
"new",
|
|
"name",
|
|
"bind",
|
|
"poll",
|
|
"clear",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"bindings",
|
|
"next_token"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"keys",
|
|
"Backend",
|
|
"BindResult",
|
|
"Binding",
|
|
"Event",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows_sys::Win32::UI::Input::KeyboardAndMouse",
|
|
"specifiers": [
|
|
"GetAsyncKeyState",
|
|
"RegisterHotKey",
|
|
"UnregisterHotKey",
|
|
"MOD_ALT",
|
|
"MOD_CONTROL",
|
|
"MOD_NOREPEAT",
|
|
"MOD_SHIFT",
|
|
"MOD_WIN"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows_sys::Win32::UI::WindowsAndMessaging",
|
|
"specifiers": [
|
|
"PeekMessageW",
|
|
"MSG",
|
|
"PM_REMOVE",
|
|
"WM_HOTKEY"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Windows",
|
|
"new"
|
|
],
|
|
"totalLines": 92,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/hotkeys/x11.rs": {
|
|
"filePath": "core/src/hotkeys/x11.rs",
|
|
"contentHash": "1d53a5da047ae05e1ff9e4991781b122f2e5a832c785e2ba8ebd62dd9400c62e",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "X11",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "X11",
|
|
"params": [
|
|
"code",
|
|
"events"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": null,
|
|
"params": [
|
|
"seq",
|
|
"bindings",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 67
|
|
},
|
|
{
|
|
"name": "poll",
|
|
"owner": null,
|
|
"params": [
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Registered",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"code",
|
|
"modifiers",
|
|
"held"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "X11",
|
|
"methods": [
|
|
"new",
|
|
"release",
|
|
"name",
|
|
"bind",
|
|
"poll",
|
|
"clear",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"connection",
|
|
"roots",
|
|
"registered",
|
|
"grabs",
|
|
"ignored",
|
|
"pending_release"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"keys",
|
|
"Backend",
|
|
"BindResult",
|
|
"Binding",
|
|
"Event",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "x11rb::connection",
|
|
"specifiers": [
|
|
"Connection"
|
|
]
|
|
},
|
|
{
|
|
"source": "x11rb::protocol",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "x11rb::rust_connection",
|
|
"specifiers": [
|
|
"RustConnection"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"X11",
|
|
"new"
|
|
],
|
|
"totalLines": 168,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/identity_cli.rs": {
|
|
"filePath": "core/src/identity_cli.rs",
|
|
"contentHash": "65253a4c877f9db1a81f92f746d7dbf3909e009b487e14a5136f5d4e1d2afe68",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "required",
|
|
"owner": "",
|
|
"params": [
|
|
"args",
|
|
"name"
|
|
],
|
|
"returnType": "Result<&'a str, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "improve",
|
|
"owner": "",
|
|
"params": [
|
|
"store",
|
|
"uid",
|
|
"target",
|
|
"seconds"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "execute",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "ExitCode",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"File"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"BufRead",
|
|
"Read",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::process",
|
|
"specifiers": [
|
|
"ExitCode"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::profile",
|
|
"specifiers": [
|
|
"Store",
|
|
"store_error"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"emit",
|
|
"run"
|
|
],
|
|
"totalLines": 97,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/identity_improve.rs": {
|
|
"filePath": "core/src/identity_improve.rs",
|
|
"contentHash": "870a8250923b98e26e5e0ec2bcb84e6dbb05c24686b66ff927b089f2112563ea",
|
|
"functions": [
|
|
{
|
|
"name": "quality",
|
|
"owner": "",
|
|
"params": [
|
|
"prefix",
|
|
"offset"
|
|
],
|
|
"returnType": "u8",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "improve",
|
|
"owner": "",
|
|
"params": [
|
|
"store",
|
|
"uid",
|
|
"target",
|
|
"duration",
|
|
"cancel",
|
|
"progress"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 41
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicBool",
|
|
"Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha1",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha1"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::profile",
|
|
"specifiers": [
|
|
"Store",
|
|
"store_error"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"improve"
|
|
],
|
|
"totalLines": 169,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/keyfmt.rs": {
|
|
"filePath": "core/src/keyfmt.rs",
|
|
"contentHash": "cf5baf3ccaaee6d8b35ecd8685a3dc9f3b50964243d98453738671e40770ad25",
|
|
"functions": [
|
|
{
|
|
"name": "private_key_from_tomcrypt",
|
|
"owner": "",
|
|
"params": [
|
|
"der"
|
|
],
|
|
"returnType": "Result<EccKeyPrivP256, String>",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "private_key_from_ts",
|
|
"owner": "",
|
|
"params": [
|
|
"b64"
|
|
],
|
|
"returnType": "Result<EccKeyPrivP256, String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "deobfuscate",
|
|
"owner": "",
|
|
"params": [
|
|
"b64"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "identity_from_ts_str",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Identity, String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha1",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha1"
|
|
]
|
|
},
|
|
{
|
|
"source": "simple_asn1",
|
|
"specifiers": [
|
|
"ASN1Block",
|
|
"BigInt"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"Identity"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_types::crypto",
|
|
"specifiers": [
|
|
"EccKeyPrivP256"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"private_key_from_tomcrypt",
|
|
"private_key_from_ts",
|
|
"identity_from_ts_str"
|
|
],
|
|
"totalLines": 176,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/lib.rs": {
|
|
"filePath": "core/src/lib.rs",
|
|
"contentHash": "ed319a49725ba1a4a460f572e57166f13bf9776267fd2e7a7077e9838cb1f67a",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 29,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/locks.rs": {
|
|
"filePath": "core/src/locks.rs",
|
|
"contentHash": "ccf71a546e45ee9d95ca4a071c68cb8a87a6a66a0bcf51cc4167415d0495ac48",
|
|
"functions": [
|
|
{
|
|
"name": "lock_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"shared"
|
|
],
|
|
"returnType": "Result<File, String>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "lock_run",
|
|
"owner": "",
|
|
"params": [
|
|
"data_dir",
|
|
"connection_dir"
|
|
],
|
|
"returnType": "Result<Vec<File>, String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"File",
|
|
"OpenOptions",
|
|
"TryLockError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"lock_dir",
|
|
"lock_run"
|
|
],
|
|
"totalLines": 24,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/main.rs": {
|
|
"filePath": "core/src/main.rs",
|
|
"contentHash": "56dd6a296c46e47db990f9a9a31c12f479eaf4f1039fdbd4679e6dace582dd82",
|
|
"functions": [
|
|
{
|
|
"name": "parse_args",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "Result<Mode, String>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"data_dir",
|
|
"connection_dir"
|
|
],
|
|
"returnType": "ExitCode",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ExitCode",
|
|
"exported": false,
|
|
"lineCount": 35
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Mode",
|
|
"methods": [],
|
|
"properties": [
|
|
"Run"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"app_audio",
|
|
"audio",
|
|
"hotkeys",
|
|
"identity_cli",
|
|
"locks",
|
|
"output",
|
|
"profile",
|
|
"protocol",
|
|
"session",
|
|
"stdio"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::process",
|
|
"specifiers": [
|
|
"ExitCode"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "tracing",
|
|
"specifiers": [
|
|
"error",
|
|
"info"
|
|
]
|
|
},
|
|
{
|
|
"source": "audio",
|
|
"specifiers": [
|
|
"AudioInQueue"
|
|
]
|
|
},
|
|
{
|
|
"source": "profile",
|
|
"specifiers": [
|
|
"Store"
|
|
]
|
|
},
|
|
{
|
|
"source": "protocol",
|
|
"specifiers": [
|
|
"PROTOCOL_VERSION"
|
|
]
|
|
},
|
|
{
|
|
"source": "output",
|
|
"specifiers": [
|
|
"Out"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 136,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/media.rs": {
|
|
"filePath": "core/src/media.rs",
|
|
"contentHash": "d544f96e3a21e76b1e637c9592a9f9476a58139a5c39869ad300ebd1f62e53fa",
|
|
"functions": [
|
|
{
|
|
"name": "channel_id",
|
|
"owner": "MediaKind",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "path",
|
|
"owner": "MediaKind",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "max_bytes",
|
|
"owner": "MediaKind",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "percent_decode",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "parse_ts3image",
|
|
"owner": "",
|
|
"params": [
|
|
"url",
|
|
"server_port"
|
|
],
|
|
"returnType": "Result<MediaKind, String>",
|
|
"exported": true,
|
|
"lineCount": 43
|
|
},
|
|
{
|
|
"name": "sniff_image",
|
|
"owner": "",
|
|
"params": [
|
|
"b"
|
|
],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "read_download",
|
|
"owner": "",
|
|
"params": [
|
|
"stream",
|
|
"size"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "MediaKind",
|
|
"methods": [
|
|
"channel_id",
|
|
"path",
|
|
"max_bytes"
|
|
],
|
|
"properties": [
|
|
"Icon",
|
|
"Avatar",
|
|
"ChannelFile"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::io",
|
|
"specifiers": [
|
|
"AsyncReadExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::net",
|
|
"specifiers": [
|
|
"TcpStream"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"MediaKind",
|
|
"channel_id",
|
|
"path",
|
|
"max_bytes",
|
|
"parse_ts3image",
|
|
"sniff_image",
|
|
"read_download"
|
|
],
|
|
"totalLines": 205,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/menu.rs": {
|
|
"filePath": "core/src/menu.rs",
|
|
"contentHash": "96dc686a8461c59cd5d235265f446804b9c7159fca0504e0c280b8a80d0d8f80",
|
|
"functions": [
|
|
{
|
|
"name": "set",
|
|
"owner": "LocalVolumes",
|
|
"params": [
|
|
"uid",
|
|
"db",
|
|
"muted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "LocalVolumes",
|
|
"params": [
|
|
"uid",
|
|
"persisted"
|
|
],
|
|
"returnType": "(f32, bool)",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "gain",
|
|
"owner": "LocalVolumes",
|
|
"params": [
|
|
"uid",
|
|
"persisted"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "LocalVolumes",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "Action",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "response",
|
|
"owner": "Action",
|
|
"params": [],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_target",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "parse_action",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<ActionRequest, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "validate_action",
|
|
"owner": "",
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "avatar_bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"data"
|
|
],
|
|
"returnType": "Result<Vec<u8>,ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"args"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "action_command",
|
|
"owner": "",
|
|
"params": [
|
|
"action",
|
|
"client_id",
|
|
"dbid"
|
|
],
|
|
"returnType": "Option<OutCommand>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "Permissions",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "value",
|
|
"owner": "Permissions",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Option<i32>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "named",
|
|
"owner": "Permissions",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Option<i32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "has_catalog",
|
|
"owner": "Permissions",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "power",
|
|
"owner": "Permissions",
|
|
"params": [
|
|
"name",
|
|
"needed"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "context",
|
|
"owner": "Permissions",
|
|
"params": [
|
|
"book",
|
|
"target",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Value,ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "cap",
|
|
"owner": "",
|
|
"params": [
|
|
"allowed",
|
|
"source"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tapped",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_live_identity",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"client_id",
|
|
"uid"
|
|
],
|
|
"returnType": "Result<(),ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "target_hint",
|
|
"owner": "",
|
|
"params": [
|
|
"own",
|
|
"key",
|
|
"hints",
|
|
"bit"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "response_matches",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"response",
|
|
"client_id",
|
|
"dbid",
|
|
"channel"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "LocalVolumes",
|
|
"methods": [
|
|
"set",
|
|
"get",
|
|
"gain",
|
|
"clear"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Target",
|
|
"methods": [],
|
|
"properties": [
|
|
"client_id",
|
|
"uid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ActionRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"generation",
|
|
"action"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Action",
|
|
"methods": [
|
|
"key",
|
|
"response"
|
|
],
|
|
"properties": [
|
|
"Poke",
|
|
"ConnectionInfo",
|
|
"Commander",
|
|
"ServerGroup",
|
|
"ChannelGroup",
|
|
"ClientPermissions",
|
|
"ChannelPermissions",
|
|
"SetClientPermission",
|
|
"SetChannelPermission",
|
|
"KickChannel",
|
|
"KickServer",
|
|
"Ban",
|
|
"Volume",
|
|
"Avatar",
|
|
"MoveToOwnChannel",
|
|
"DeleteAvatar"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Permissions",
|
|
"methods": [
|
|
"apply",
|
|
"value",
|
|
"named",
|
|
"has_catalog",
|
|
"power",
|
|
"context"
|
|
],
|
|
"properties": [
|
|
"catalog",
|
|
"values"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"ClientId",
|
|
"GroupType"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"Direction",
|
|
"Flags",
|
|
"OutCommand",
|
|
"PacketType"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"LocalVolumes",
|
|
"set",
|
|
"get",
|
|
"gain",
|
|
"clear",
|
|
"Target",
|
|
"ActionRequest",
|
|
"Action",
|
|
"key",
|
|
"response",
|
|
"bad",
|
|
"validate_target",
|
|
"parse_action",
|
|
"validate_action",
|
|
"avatar_bytes",
|
|
"command",
|
|
"action_command",
|
|
"Permissions",
|
|
"apply",
|
|
"named",
|
|
"has_catalog",
|
|
"context",
|
|
"tapped",
|
|
"response_matches"
|
|
],
|
|
"totalLines": 300,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/menu_session.rs": {
|
|
"filePath": "core/src/menu_session.rs",
|
|
"contentHash": "8bbc7fe1c74c34f474d6cb34b79d87cf55066de58f47ac6cea4c70a52f5d59d2",
|
|
"functions": [
|
|
{
|
|
"name": "client_context",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "client_action",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"request"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 70
|
|
},
|
|
{
|
|
"name": "avatar_finished",
|
|
"owner": "Session",
|
|
"params": [
|
|
"generation",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"client_context",
|
|
"client_action",
|
|
"avatar_finished"
|
|
],
|
|
"totalLines": 96,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/output.rs": {
|
|
"filePath": "core/src/output.rs",
|
|
"contentHash": "f93fc107dff8548f548d26a761e54c4f6379d5e5282ac2ca3ebcb9916244f158",
|
|
"functions": [
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "recv",
|
|
"owner": "PlaybackReceiver",
|
|
"params": [],
|
|
"returnType": "Option<PlaybackFrame>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Out",
|
|
"params": [],
|
|
"returnType": "(Self, mpsc::Receiver<Value>, PlaybackReceiver)",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "set_generation",
|
|
"owner": "Out",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "Out",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "json",
|
|
"owner": "Out",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "playback",
|
|
"owner": "Out",
|
|
"params": [
|
|
"pcm",
|
|
"speakers"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "ok",
|
|
"owner": "Out",
|
|
"params": [
|
|
"id",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "err",
|
|
"owner": "Out",
|
|
"params": [
|
|
"id",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "error_event",
|
|
"owner": "Out",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PlaybackFrame",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"pcm",
|
|
"speakers",
|
|
"generation",
|
|
"emitted_at",
|
|
"recycled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "PlaybackInner",
|
|
"methods": [],
|
|
"properties": [
|
|
"frames",
|
|
"closed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "PlaybackShared",
|
|
"methods": [],
|
|
"properties": [
|
|
"inner",
|
|
"ready",
|
|
"recycled"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "PlaybackReceiver",
|
|
"methods": [
|
|
"recv",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"shared"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OutputInner",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"control",
|
|
"playback",
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Out",
|
|
"methods": [
|
|
"new",
|
|
"set_generation",
|
|
"control",
|
|
"json",
|
|
"playback",
|
|
"ok",
|
|
"err",
|
|
"error_event"
|
|
],
|
|
"properties": [
|
|
"inner"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"Notify"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorObj",
|
|
"Frame"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"PlaybackFrame",
|
|
"PlaybackReceiver",
|
|
"recv",
|
|
"Out",
|
|
"new",
|
|
"set_generation",
|
|
"control",
|
|
"json",
|
|
"playback",
|
|
"ok",
|
|
"err",
|
|
"error_event"
|
|
],
|
|
"totalLines": 153,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/profile.rs": {
|
|
"filePath": "core/src/profile.rs",
|
|
"contentHash": "5338a0af13fac54b036eccf1e9fb8c575ebc5e81fb35a197d5a98d9c37a13140",
|
|
"functions": [
|
|
{
|
|
"name": "io_err",
|
|
"owner": "",
|
|
"params": [
|
|
"context"
|
|
],
|
|
"returnType": "impl FnOnce(io::Error) -> StoreError",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "store_error",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "effective_nickname",
|
|
"owner": "Entry",
|
|
"params": [],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "connect_identity",
|
|
"owner": "Entry",
|
|
"params": [],
|
|
"returnType": "Identity",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "empty",
|
|
"owner": "Vault",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "find",
|
|
"owner": "Vault",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Option<&Entry>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "find_mut",
|
|
"owner": "Vault",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Option<&mut Entry>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default_entry",
|
|
"owner": "Vault",
|
|
"params": [],
|
|
"returnType": "Option<&Entry>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "security_level",
|
|
"owner": "StoredIdentity",
|
|
"params": [],
|
|
"returnType": "u8",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "uid_of",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_uid",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate_nickname",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<String, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "validate_optional_nickname",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<String, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate_name",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<String, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "hex",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse_ini",
|
|
"owner": "",
|
|
"params": [
|
|
"ini"
|
|
],
|
|
"returnType": "Result<Vec<Parsed>, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Store",
|
|
"params": [
|
|
"dir"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "identity_path",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile_path",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "vault_path",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "corrupt_identity",
|
|
"owner": "Store",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"returnType": "StoreError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "corrupt_vault",
|
|
"owner": "Store",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"returnType": "StoreError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "load_legacy_identity",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Option<Identity>, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "load_legacy_nickname",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Option<String>, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "write_legacy_identity",
|
|
"owner": "Store",
|
|
"params": [
|
|
"identity"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "read_index",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Option<VaultFile>, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "vault_from_index",
|
|
"owner": "Store",
|
|
"params": [
|
|
"file"
|
|
],
|
|
"returnType": "Result<Vault, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 47
|
|
},
|
|
{
|
|
"name": "vault_from_legacy",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Vault, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "load_vault",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Vault, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "write_vault",
|
|
"owner": "Store",
|
|
"params": [
|
|
"vault"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "write_lock",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<File, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "use_path",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "open_use_file",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<File, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "in_use",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "info",
|
|
"owner": "Store",
|
|
"params": [
|
|
"vault",
|
|
"e"
|
|
],
|
|
"returnType": "IdentityInfo",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "info_of",
|
|
"owner": "Store",
|
|
"params": [
|
|
"vault",
|
|
"uid"
|
|
],
|
|
"returnType": "Result<IdentityInfo, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "new_entry",
|
|
"owner": "Store",
|
|
"params": [
|
|
"identity",
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"returnType": "Entry",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "load_identity",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Option<StoredIdentity>, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "load_nickname",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<Option<String>, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "nickname_of",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<Option<String>, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "profile_json",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<Value, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "open_for_connect",
|
|
"owner": "Store",
|
|
"params": [
|
|
"id",
|
|
"nickname_override"
|
|
],
|
|
"returnType": "Result<(StoredIdentity, String), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "Store",
|
|
"params": [
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<(StoredIdentity, String), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "save_nickname",
|
|
"owner": "Store",
|
|
"params": [
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "save_nickname_of",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid",
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "update_key_offset",
|
|
"owner": "Store",
|
|
"params": [
|
|
"current",
|
|
"upgraded"
|
|
],
|
|
"returnType": "Result<StoredIdentity, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "Store",
|
|
"params": [],
|
|
"returnType": "Result<VaultInfo, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "create_identity",
|
|
"owner": "Store",
|
|
"params": [
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<IdentityInfo, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "update_identity",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid",
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<IdentityInfo, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "set_default",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "delete_identity",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid",
|
|
"confirm_uid"
|
|
],
|
|
"returnType": "Result<(), StoreError>",
|
|
"exported": true,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "import_ini",
|
|
"owner": "Store",
|
|
"params": [
|
|
"files"
|
|
],
|
|
"returnType": "Result<ImportOutcome, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 45
|
|
},
|
|
{
|
|
"name": "export_ini",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<String, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "improve_start",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<ImproveStart, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "record_improvement",
|
|
"owner": "Store",
|
|
"params": [
|
|
"uid",
|
|
"found",
|
|
"searched_to"
|
|
],
|
|
"returnType": "Result<u8, StoreError>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StoreError",
|
|
"methods": [],
|
|
"properties": [
|
|
"Missing",
|
|
"Exists",
|
|
"NotFound",
|
|
"InUse",
|
|
"Busy",
|
|
"IdentityCorrupt",
|
|
"ProfileCorrupt",
|
|
"InvalidNickname",
|
|
"InvalidName",
|
|
"NicknameRequired",
|
|
"ImportInvalid",
|
|
"DeleteRefused",
|
|
"BadRequest",
|
|
"Io"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "IdentityFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"uid",
|
|
"private_key",
|
|
"key_offset"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ProfileFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"nickname"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "VaultFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"default",
|
|
"identities"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "VaultEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"name",
|
|
"nickname",
|
|
"key",
|
|
"searched_offset"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "VaultKey",
|
|
"methods": [],
|
|
"properties": [
|
|
"private_key",
|
|
"key_offset"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Entry",
|
|
"methods": [
|
|
"effective_nickname",
|
|
"connect_identity"
|
|
],
|
|
"properties": [
|
|
"uid",
|
|
"name",
|
|
"nickname",
|
|
"identity",
|
|
"legacy",
|
|
"searched_offset"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Vault",
|
|
"methods": [
|
|
"empty",
|
|
"find",
|
|
"find_mut",
|
|
"default_entry"
|
|
],
|
|
"properties": [
|
|
"default",
|
|
"entries"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "StoredIdentity",
|
|
"methods": [
|
|
"security_level"
|
|
],
|
|
"properties": [
|
|
"identity",
|
|
"uid",
|
|
"use_lock"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "IdentityInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"uid",
|
|
"name",
|
|
"nickname",
|
|
"security_level",
|
|
"is_default",
|
|
"in_use"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "VaultInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"default_id",
|
|
"identities"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ImportOutcome",
|
|
"methods": [],
|
|
"properties": [
|
|
"imported",
|
|
"existing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ImproveStart",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"omega",
|
|
"level",
|
|
"start"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Parsed",
|
|
"methods": [],
|
|
"properties": [
|
|
"identity",
|
|
"uid",
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Store",
|
|
"methods": [
|
|
"new",
|
|
"identity_path",
|
|
"profile_path",
|
|
"vault_path",
|
|
"corrupt_identity",
|
|
"corrupt_vault",
|
|
"load_legacy_identity",
|
|
"load_legacy_nickname",
|
|
"write_legacy_identity",
|
|
"read_index",
|
|
"vault_from_index",
|
|
"vault_from_legacy",
|
|
"load_vault",
|
|
"write_vault",
|
|
"write_lock",
|
|
"use_path",
|
|
"open_use_file",
|
|
"in_use",
|
|
"info",
|
|
"info_of",
|
|
"new_entry",
|
|
"load_identity",
|
|
"load_nickname",
|
|
"nickname_of",
|
|
"profile_json",
|
|
"open_for_connect",
|
|
"create",
|
|
"save_nickname",
|
|
"save_nickname_of",
|
|
"update_key_offset",
|
|
"list",
|
|
"create_identity",
|
|
"update_identity",
|
|
"set_default",
|
|
"delete_identity",
|
|
"import_ini",
|
|
"export_ini",
|
|
"improve_start",
|
|
"record_improvement"
|
|
],
|
|
"properties": [
|
|
"dir"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"self",
|
|
"File",
|
|
"TryLockError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha1",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha1"
|
|
]
|
|
},
|
|
{
|
|
"source": "thiserror",
|
|
"specifiers": [
|
|
"Error"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"Identity"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_types::crypto",
|
|
"specifiers": [
|
|
"EccKeyPrivP256"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StoreError",
|
|
"store_error",
|
|
"StoredIdentity",
|
|
"security_level",
|
|
"IdentityInfo",
|
|
"VaultInfo",
|
|
"ImportOutcome",
|
|
"ImproveStart",
|
|
"uid_of",
|
|
"valid_uid",
|
|
"validate_nickname",
|
|
"validate_name",
|
|
"Store",
|
|
"new",
|
|
"load_identity",
|
|
"load_nickname",
|
|
"nickname_of",
|
|
"profile_json",
|
|
"open_for_connect",
|
|
"create",
|
|
"save_nickname",
|
|
"save_nickname_of",
|
|
"update_key_offset",
|
|
"list",
|
|
"create_identity",
|
|
"update_identity",
|
|
"set_default",
|
|
"delete_identity",
|
|
"import_ini",
|
|
"export_ini",
|
|
"improve_start",
|
|
"record_improvement"
|
|
],
|
|
"totalLines": 1539,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/protocol.rs": {
|
|
"filePath": "core/src/protocol.rs",
|
|
"contentHash": "c0ddcfa52ae7f6540acab44860ec042de0775fc1472f2c1b5c34b0c3bddfeebb",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "ErrorObj",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "with_ts",
|
|
"owner": "ErrorObj",
|
|
"params": [
|
|
"ts"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "with_detail",
|
|
"owner": "ErrorObj",
|
|
"params": [
|
|
"detail"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"msg"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "Command",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "ValidatedCommand",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "into_inner",
|
|
"owner": "ValidatedCommand",
|
|
"params": [],
|
|
"returnType": "Command",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "args",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "args_owned",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "check_text",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value",
|
|
"max_chars",
|
|
"allow_empty"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "check_opt",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check_stream_id",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "decode_frame",
|
|
"owner": "",
|
|
"params": [
|
|
"b64"
|
|
],
|
|
"returnType": "Result<Box<Frame>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "parse_line",
|
|
"owner": "",
|
|
"params": [
|
|
"line"
|
|
],
|
|
"returnType": "Input",
|
|
"exported": true,
|
|
"lineCount": 47
|
|
},
|
|
{
|
|
"name": "valid_id",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "parse_command",
|
|
"owner": "",
|
|
"params": [
|
|
"cmd",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<Command, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 88
|
|
},
|
|
{
|
|
"name": "validate_command",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<ValidatedCommand, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 72
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ErrorCode",
|
|
"methods": [],
|
|
"properties": [
|
|
"BadRequest",
|
|
"UnknownCommand",
|
|
"ProfileMissing",
|
|
"ProfileExists",
|
|
"IdentityCorrupt",
|
|
"ProfileCorrupt",
|
|
"InvalidNickname",
|
|
"NicknameRequired",
|
|
"NotConnected",
|
|
"AlreadyConnected",
|
|
"ConnectFailed",
|
|
"ServerError",
|
|
"AudioFormat",
|
|
"AudioOverflow",
|
|
"AudioMuted",
|
|
"AudioCodec",
|
|
"AudioCodecUnsupported",
|
|
"RenameNotPersisted",
|
|
"NotFound",
|
|
"TargetChanged",
|
|
"MediaTooLarge",
|
|
"MediaUnsupported",
|
|
"ExternalMedia",
|
|
"Io",
|
|
"Internal",
|
|
"FileExists",
|
|
"TransferCancelled",
|
|
"RecordingFailed",
|
|
"IdentityInUse",
|
|
"IdentityBusy"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "TsErrorInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name",
|
|
"missing_permission"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "ErrorObj",
|
|
"methods": [
|
|
"new",
|
|
"with_ts",
|
|
"with_detail"
|
|
],
|
|
"properties": [
|
|
"code",
|
|
"message",
|
|
"ts_error",
|
|
"detail"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "TextTarget",
|
|
"methods": [],
|
|
"properties": [
|
|
"Channel",
|
|
"Server",
|
|
"Client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Command",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"ProfileGet",
|
|
"ProfileCreate",
|
|
"Rename",
|
|
"Connect",
|
|
"Disconnect",
|
|
"JoinChannel",
|
|
"SendText",
|
|
"SetAudio",
|
|
"SetTransmit",
|
|
"SetLocalVolumes",
|
|
"SetPlaybackDsp",
|
|
"StreamList",
|
|
"StreamJoin",
|
|
"StreamSignal",
|
|
"StreamLeave",
|
|
"StreamSetup",
|
|
"StreamUpdate",
|
|
"StreamStop",
|
|
"StreamRespond",
|
|
"StreamRemove",
|
|
"FetchIcon",
|
|
"FetchAvatar",
|
|
"FetchBanner",
|
|
"FetchServerBanner",
|
|
"ClientContext",
|
|
"ClientAction",
|
|
"Admin",
|
|
"Files",
|
|
"Recording",
|
|
"Whisper",
|
|
"Shutdown"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "ValidatedCommand",
|
|
"methods": [
|
|
"name",
|
|
"into_inner"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConnectArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"address",
|
|
"server_password",
|
|
"channel",
|
|
"channel_password",
|
|
"identity_id",
|
|
"nickname"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "Input",
|
|
"methods": [],
|
|
"properties": [
|
|
"Request",
|
|
"AudioFrame",
|
|
"AudioEnd",
|
|
"Invalid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "TaggedFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"pcm",
|
|
"whisper"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Envelope",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"cmd",
|
|
"args"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Empty",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NicknameArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"nickname"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "DisconnectArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "JoinChannelArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"password"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SendTextArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"client_id",
|
|
"expected_client_uid",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "SetAudioArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"input_muted",
|
|
"output_muted"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "StreamListArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"client_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "StreamJoinArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id",
|
|
"client_id",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "StreamSignalArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id",
|
|
"client_id",
|
|
"json"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "FetchIconArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"icon_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "FetchAvatarArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"client_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "FetchBannerArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "StreamLeaveArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id",
|
|
"client_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "StreamPublishArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id",
|
|
"name",
|
|
"stream_type",
|
|
"accessibility",
|
|
"mode",
|
|
"bitrate",
|
|
"viewer_limit",
|
|
"audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "StreamStopArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamRespondArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"stream_id",
|
|
"client_id",
|
|
"decision",
|
|
"offer",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "AudioFrameArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"pcm",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::borrow",
|
|
"specifiers": [
|
|
"Cow"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde::de",
|
|
"specifiers": [
|
|
"DeserializeOwned"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json::value",
|
|
"specifiers": [
|
|
"RawValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::vad",
|
|
"specifiers": [
|
|
"GateMode"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::voice_dsp",
|
|
"specifiers": [
|
|
"LocalVolumesUpdate"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ErrorCode",
|
|
"TsErrorInfo",
|
|
"ErrorObj",
|
|
"new",
|
|
"with_ts",
|
|
"with_detail",
|
|
"TextTarget",
|
|
"Command",
|
|
"name",
|
|
"ValidatedCommand",
|
|
"name",
|
|
"into_inner",
|
|
"ConnectArgs",
|
|
"Input",
|
|
"TaggedFrame",
|
|
"StreamPublishArgs",
|
|
"decode_frame",
|
|
"parse_line",
|
|
"validate_command"
|
|
],
|
|
"totalLines": 883,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/rawcmd.rs": {
|
|
"filePath": "core/src/rawcmd.rs",
|
|
"contentHash": "ba1589c9e6e84307c5b8ecc1b810ebe3f6313f1ba2f549cc4cd315aaacd2e786",
|
|
"functions": [
|
|
{
|
|
"name": "name",
|
|
"owner": "StreamVerb",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "",
|
|
"params": [
|
|
"verb",
|
|
"args"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "request_stream_info",
|
|
"owner": "",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "join_stream",
|
|
"owner": "",
|
|
"params": [
|
|
"stream_id",
|
|
"client_id",
|
|
"msg",
|
|
"remove"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "stream_signaling",
|
|
"owner": "",
|
|
"params": [
|
|
"stream_id",
|
|
"client_id",
|
|
"json"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "publish_stream",
|
|
"owner": "",
|
|
"params": [
|
|
"a"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "stop_stream",
|
|
"owner": "",
|
|
"params": [
|
|
"stream_id"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "respond_stream",
|
|
"owner": "",
|
|
"params": [
|
|
"stream_id",
|
|
"client_id",
|
|
"decision",
|
|
"offer",
|
|
"message"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "remove_stream_client",
|
|
"owner": "",
|
|
"params": [
|
|
"stream_id",
|
|
"client_id"
|
|
],
|
|
"returnType": "OutCommand",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "tap",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "is_stream_notification",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"content"
|
|
],
|
|
"returnType": "Option<RawNotification>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StreamVerb",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"RequestStreamInfo",
|
|
"JoinStreamRequest",
|
|
"StreamSignaling",
|
|
"SetupStream",
|
|
"UpdateStream",
|
|
"StopStream",
|
|
"RespondJoinStreamRequest",
|
|
"RemoveClientFromStream"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "RawNotification",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"items"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::commands",
|
|
"specifiers": [
|
|
"CommandItem",
|
|
"CommandParser"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"Direction",
|
|
"Flags",
|
|
"OutCommand",
|
|
"PacketType"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StreamVerb",
|
|
"name",
|
|
"build",
|
|
"request_stream_info",
|
|
"join_stream",
|
|
"stream_signaling",
|
|
"publish_stream",
|
|
"stop_stream",
|
|
"respond_stream",
|
|
"remove_stream_client",
|
|
"tap",
|
|
"is_stream_notification",
|
|
"RawNotification",
|
|
"parse"
|
|
],
|
|
"totalLines": 242,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/recording.rs": {
|
|
"filePath": "core/src/recording.rs",
|
|
"contentHash": "375e9d1f9d7bf7180746fdfe798463a375651c2ea11048efb31923e1b0f3b8f9",
|
|
"functions": [
|
|
{
|
|
"name": "from_num",
|
|
"owner": "Mode",
|
|
"params": [
|
|
"n"
|
|
],
|
|
"returnType": "Option<Self>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "multitrack",
|
|
"owner": "Mode",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "master",
|
|
"owner": "Mode",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "RecCommand",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"msg"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse_args",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "valid_label",
|
|
"owner": "",
|
|
"params": [
|
|
"label"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"cmd",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<RecCommand, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "Kind",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "place_peak",
|
|
"owner": "Track",
|
|
"params": [
|
|
"tick",
|
|
"peak"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "note_audio",
|
|
"owner": "Track",
|
|
"params": [
|
|
"tick",
|
|
"now_ms",
|
|
"client_id",
|
|
"nickname",
|
|
"ch",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "timeline_ticks",
|
|
"owner": "Track",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "peak_of",
|
|
"owner": "",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "u16",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "downmix",
|
|
"owner": "",
|
|
"params": [
|
|
"stereo",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "sanitize",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "epoch_ms",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "utc_label",
|
|
"owner": "",
|
|
"params": [
|
|
"ms"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "wav_header",
|
|
"owner": "",
|
|
"params": [
|
|
"data_bytes"
|
|
],
|
|
"returnType": "[u8; HEADER_BYTES as usize]",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "part_name",
|
|
"owner": "",
|
|
"params": [
|
|
"stem",
|
|
"part"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "create_wav",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"name"
|
|
],
|
|
"returnType": "io::Result<BufWriter<File>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "write",
|
|
"owner": "Io<'_>",
|
|
"params": [
|
|
"w",
|
|
"bytes"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "WavWriter",
|
|
"params": [
|
|
"dir",
|
|
"stem",
|
|
"start_tick"
|
|
],
|
|
"returnType": "io::Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "refresh_header",
|
|
"owner": "WavWriter",
|
|
"params": [],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "finalize",
|
|
"owner": "WavWriter",
|
|
"params": [],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "write_samples",
|
|
"owner": "WavWriter",
|
|
"params": [
|
|
"io",
|
|
"samples",
|
|
"silence"
|
|
],
|
|
"returnType": "io::Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "write_at",
|
|
"owner": "WavWriter",
|
|
"params": [
|
|
"io",
|
|
"tick",
|
|
"frame"
|
|
],
|
|
"returnType": "io::Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "write_manifest",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"manifest"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "writer_thread",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"cfg",
|
|
"rx",
|
|
"recycle",
|
|
"shared"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 122
|
|
},
|
|
{
|
|
"name": "poll",
|
|
"owner": "Finishing",
|
|
"params": [],
|
|
"returnType": "Option<FinishResult>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "wait",
|
|
"owner": "Finishing",
|
|
"params": [],
|
|
"returnType": "FinishResult",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"directory",
|
|
"label",
|
|
"mode",
|
|
"info",
|
|
"cfg"
|
|
],
|
|
"returnType": "Result<Self, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 66
|
|
},
|
|
{
|
|
"name": "output_path",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "&Path",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_paused",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "mode",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "Mode",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wants_speakers",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "add_track",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"kind",
|
|
"uid_raw",
|
|
"name",
|
|
"instance"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "frame_box",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "Box<Frame>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reclaim",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "speaker",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"client_id",
|
|
"whisper",
|
|
"stereo"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "client_track",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"client_id",
|
|
"ident",
|
|
"resolve"
|
|
],
|
|
"returnType": "Option<usize>",
|
|
"exported": false,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "end_tick",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"master",
|
|
"resolve",
|
|
"ch"
|
|
],
|
|
"returnType": "TickOutcome",
|
|
"exported": true,
|
|
"lineCount": 111
|
|
},
|
|
{
|
|
"name": "recycle_batch",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"batch"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "discard_speakers",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "pause",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "resume",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "track_json",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"t",
|
|
"bytes"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "manifest",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"state"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "info",
|
|
"owner": "Recorder",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "waveform",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"track_id",
|
|
"from_bucket"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "Recorder",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"returnType": "Finishing",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Mode",
|
|
"methods": [
|
|
"from_num",
|
|
"multitrack",
|
|
"master"
|
|
],
|
|
"properties": [
|
|
"Multitrack",
|
|
"Master",
|
|
"Both"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "RecCommand",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"Start",
|
|
"Stop",
|
|
"Pause",
|
|
"Resume",
|
|
"Status",
|
|
"Info",
|
|
"Waveform"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "StartArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"directory",
|
|
"mode",
|
|
"label"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "WaveformArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"track_id",
|
|
"from_bucket"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Empty",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Ident",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"nickname"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ChannelCtx",
|
|
"methods": [],
|
|
"properties": [
|
|
"channel_id",
|
|
"channel_name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Kind",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"Client",
|
|
"Capture",
|
|
"Master"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Segment",
|
|
"methods": [],
|
|
"properties": [
|
|
"start_tick",
|
|
"end_tick",
|
|
"start_epoch_ms",
|
|
"client_id",
|
|
"nickname",
|
|
"channel_id",
|
|
"channel_name",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Track",
|
|
"methods": [
|
|
"place_peak",
|
|
"note_audio",
|
|
"timeline_ticks"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"kind",
|
|
"uid_raw",
|
|
"uid",
|
|
"name",
|
|
"instance",
|
|
"stem",
|
|
"start_tick",
|
|
"last_tick",
|
|
"audio_ticks",
|
|
"segments",
|
|
"bound",
|
|
"break_segment",
|
|
"peaks",
|
|
"first_bucket"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "Config",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"queue_ticks",
|
|
"max_wav_data",
|
|
"fail_after_bytes",
|
|
"write_delay",
|
|
"header_refreshed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Msg",
|
|
"methods": [],
|
|
"properties": [
|
|
"tick",
|
|
"frames"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "TrackFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"stem",
|
|
"start_tick"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Stats",
|
|
"methods": [],
|
|
"properties": [
|
|
"total_bytes",
|
|
"track_bytes",
|
|
"track_files",
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Shared",
|
|
"methods": [],
|
|
"properties": [
|
|
"files",
|
|
"stats",
|
|
"finish",
|
|
"finished",
|
|
"finished_cv"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "WavWriter",
|
|
"methods": [
|
|
"open",
|
|
"refresh_header",
|
|
"finalize",
|
|
"write_samples",
|
|
"write_at"
|
|
],
|
|
"properties": [
|
|
"dir",
|
|
"stem",
|
|
"part",
|
|
"file",
|
|
"data_bytes",
|
|
"next_tick",
|
|
"files"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Io",
|
|
"methods": [],
|
|
"properties": [
|
|
"cfg",
|
|
"written"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "FinishResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"output_path",
|
|
"ok",
|
|
"error",
|
|
"total_bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "StartInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"server_name",
|
|
"server_address",
|
|
"own_uid",
|
|
"own_nickname"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Recorder",
|
|
"methods": [
|
|
"start",
|
|
"output_path",
|
|
"is_paused",
|
|
"mode",
|
|
"wants_speakers",
|
|
"add_track",
|
|
"frame_box",
|
|
"reclaim",
|
|
"speaker",
|
|
"capture",
|
|
"client_track",
|
|
"end_tick",
|
|
"recycle_batch",
|
|
"discard_speakers",
|
|
"pause",
|
|
"resume",
|
|
"track_json",
|
|
"manifest",
|
|
"info",
|
|
"waveform",
|
|
"finish",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"dir",
|
|
"mode",
|
|
"start_ms",
|
|
"server",
|
|
"own_uid",
|
|
"own_nickname",
|
|
"paused",
|
|
"pause_began_ms",
|
|
"pauses",
|
|
"tick",
|
|
"tracks",
|
|
"next_track_id",
|
|
"speakers",
|
|
"capture_fifo",
|
|
"capture_track",
|
|
"master_track",
|
|
"pool",
|
|
"batches",
|
|
"recycle_rx",
|
|
"tx",
|
|
"shared",
|
|
"thread",
|
|
"dropped_chunks",
|
|
"dropped_ranges",
|
|
"dropped_capture_frames",
|
|
"overflow_reported"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "Finishing",
|
|
"methods": [
|
|
"poll",
|
|
"wait",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"shared",
|
|
"thread"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "TickOutcome",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ok",
|
|
"Overflow",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fmt::Write as _",
|
|
"specifiers": [
|
|
"std::fmt::Write as _"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"self",
|
|
"File",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"self",
|
|
"BufWriter",
|
|
"Seek",
|
|
"SeekFrom",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::mpsc",
|
|
"specifiers": [
|
|
"self",
|
|
"Receiver",
|
|
"Sender",
|
|
"SyncSender",
|
|
"TrySendError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"Condvar",
|
|
"Mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::thread",
|
|
"specifiers": [
|
|
"JoinHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"SystemTime",
|
|
"UNIX_EPOCH"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json::value",
|
|
"specifiers": [
|
|
"RawValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tracing",
|
|
"specifiers": [
|
|
"info",
|
|
"warn"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj",
|
|
"Frame",
|
|
"FRAME_SAMPLES"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Mode",
|
|
"RecCommand",
|
|
"name",
|
|
"parse",
|
|
"validate",
|
|
"Ident",
|
|
"ChannelCtx",
|
|
"Config",
|
|
"FinishResult",
|
|
"StartInfo",
|
|
"Recorder",
|
|
"Finishing",
|
|
"poll",
|
|
"wait",
|
|
"TickOutcome",
|
|
"start",
|
|
"output_path",
|
|
"is_paused",
|
|
"mode",
|
|
"wants_speakers",
|
|
"speaker",
|
|
"capture",
|
|
"end_tick",
|
|
"pause",
|
|
"resume",
|
|
"info",
|
|
"waveform",
|
|
"finish"
|
|
],
|
|
"totalLines": 1260,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/recording/tests.rs": {
|
|
"filePath": "core/src/recording/tests.rs",
|
|
"contentHash": "471de7acdd0cddbd41236c1745b921e24b33e9d817f9554722b1750360fc09b1",
|
|
"functions": [
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<RecCommand, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "temp_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"dir",
|
|
"mode",
|
|
"cfg"
|
|
],
|
|
"returnType": "Recorder",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "read_wav",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Wav",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "manifest",
|
|
"owner": "",
|
|
"params": [
|
|
"dir"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "session_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"base"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "s2c",
|
|
"owner": "",
|
|
"params": [
|
|
"packet",
|
|
"id",
|
|
"from",
|
|
"codec"
|
|
],
|
|
"returnType": "InAudioBuf",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "whisper",
|
|
"owner": "",
|
|
"params": [
|
|
"packet",
|
|
"id",
|
|
"from"
|
|
],
|
|
"returnType": "InAudioBuf",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "ident",
|
|
"owner": "",
|
|
"params": [
|
|
"cid"
|
|
],
|
|
"returnType": "Option<Ident<'static>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "finish_wait",
|
|
"owner": "",
|
|
"params": [
|
|
"rec",
|
|
"reason"
|
|
],
|
|
"returnType": "FinishResult",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "energy",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "speech_multitrack_and_master_are_exact",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 119
|
|
},
|
|
{
|
|
"name": "master_only_records_no_tracks_and_silence_keeps_duration",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "multitrack_only_has_no_master_and_whisper_is_flagged",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "pause_excludes_audio_and_time_and_splits_segments",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 46
|
|
},
|
|
{
|
|
"name": "disconnect_mid_speech_finalizes_playable_files",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "write_error_is_reported_and_files_stay_consistent",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "slow_disk_drops_whole_ticks_truthfully_and_keeps_alignment",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "riff_limit_rolls_over_to_numbered_parts",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "recycled_ids_and_reconnects_keep_identity",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "dropping_without_finish_still_finalizes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "headers_are_refreshed_while_recording",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "start_never_reuses_a_folder_and_creates_missing_output_dir",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "parse_validates_arguments",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "helpers",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "waveform_reports_peaks_per_tick",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "immediate_stop_creates_empty_playable_master",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "queued_capture_is_reported_when_pause_or_stop_discards_it",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Wav",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU32",
|
|
"Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"AudioData",
|
|
"Direction",
|
|
"InAudioBuf",
|
|
"OutAudio"
|
|
]
|
|
},
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"TxCodec",
|
|
"TxEncoder"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::vad::tests",
|
|
"specifiers": [
|
|
"speech_frames"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 600,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/recording_session.rs": {
|
|
"filePath": "core/src/recording_session.rs",
|
|
"contentHash": "ca8bdaaba5ea8defcbe06b91038bdf4f6412a3f30860f42c60ac3b1eb8370c85",
|
|
"functions": [
|
|
{
|
|
"name": "not_recording",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "recording",
|
|
"owner": "Session",
|
|
"params": [
|
|
"_id",
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "announce_recording",
|
|
"owner": "Session",
|
|
"params": [
|
|
"on"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "emit_recording_state",
|
|
"owner": "Session",
|
|
"params": [
|
|
"reason",
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "recording_finish",
|
|
"owner": "Session",
|
|
"params": [
|
|
"reason",
|
|
"error"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "recording_poll",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "recording_after_mix",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 26
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::recording",
|
|
"specifiers": [
|
|
"ChannelCtx",
|
|
"Config",
|
|
"Ident",
|
|
"RecCommand",
|
|
"Recorder",
|
|
"StartInfo",
|
|
"TickOutcome"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"recording",
|
|
"recording_finish",
|
|
"recording_poll",
|
|
"recording_after_mix"
|
|
],
|
|
"totalLines": 160,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/runtime.rs": {
|
|
"filePath": "core/src/runtime.rs",
|
|
"contentHash": "c79503a5a56ecebf139fced429a91677bdf5d65210cc5914a09f0f3f656b21bc",
|
|
"functions": [
|
|
{
|
|
"name": "stopped",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fail_pending",
|
|
"owner": "",
|
|
"params": [
|
|
"pending"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "CoreHandle",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "push_audio",
|
|
"owner": "CoreHandle",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "invalidate_audio",
|
|
"owner": "CoreHandle",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "audio_epoch",
|
|
"owner": "CoreHandle",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "connection_generation",
|
|
"owner": "CoreHandle",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "end_audio",
|
|
"owner": "CoreHandle",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "CoreHandle",
|
|
"params": [],
|
|
"returnType": "Result<(), CoreStartError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "spawn",
|
|
"owner": "",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "Result<(CoreHandle, CoreEvents), CoreStartError>",
|
|
"exported": true,
|
|
"lineCount": 59
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CoreConfig",
|
|
"methods": [],
|
|
"properties": [
|
|
"data_dir",
|
|
"connection_dir"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CoreStartError",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CoreEvents",
|
|
"methods": [],
|
|
"properties": [
|
|
"control",
|
|
"playback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "CoreHandle",
|
|
"methods": [
|
|
"request",
|
|
"push_audio",
|
|
"invalidate_audio",
|
|
"audio_epoch",
|
|
"connection_generation",
|
|
"end_audio",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"pending",
|
|
"next_request",
|
|
"audio",
|
|
"cancel",
|
|
"finished",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "WorkerCleanup",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PendingRequest",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"pending"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"oneshot"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"locks",
|
|
"profile::Store",
|
|
"session::Session"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CoreConfig",
|
|
"CoreStartError",
|
|
"CoreEvents",
|
|
"CoreHandle",
|
|
"request",
|
|
"push_audio",
|
|
"invalidate_audio",
|
|
"audio_epoch",
|
|
"connection_generation",
|
|
"end_audio",
|
|
"shutdown",
|
|
"spawn"
|
|
],
|
|
"totalLines": 171,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/secure_fs.rs": {
|
|
"filePath": "core/src/secure_fs.rs",
|
|
"contentHash": "2414600b4966c03717a02a164c6683715cc079ffba21b53506734eb0e792133b",
|
|
"functions": [
|
|
{
|
|
"name": "tmp_path",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "create_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"private"
|
|
],
|
|
"returnType": "io::Result<File>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "write_atomic",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"data",
|
|
"private"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "ensure_private_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"dir"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"self",
|
|
"File",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"self",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"write_atomic",
|
|
"ensure_private_dir"
|
|
],
|
|
"totalLines": 201,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/session.rs": {
|
|
"filePath": "core/src/session.rs",
|
|
"contentHash": "ad696d6c9284681bfa64a926b3a20b2a6a6fd0b0929e09d90432e3174e501f83",
|
|
"functions": [
|
|
{
|
|
"name": "ts_info",
|
|
"owner": "",
|
|
"params": [
|
|
"error",
|
|
"missing"
|
|
],
|
|
"returnType": "TsErrorInfo",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "command_error",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "lib_error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"e"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "not_connected",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse_address",
|
|
"owner": "",
|
|
"params": [
|
|
"addr"
|
|
],
|
|
"returnType": "ServerAddress",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "reason_code",
|
|
"owner": "",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "connected",
|
|
"owner": "Conn",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "transfer_id",
|
|
"owner": "Conn",
|
|
"params": [],
|
|
"returnType": "u16",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "own_channel_codec",
|
|
"owner": "Conn",
|
|
"params": [],
|
|
"returnType": "Option<(u64, tsclientlib::Codec, u8)>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "Conn",
|
|
"params": [
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<u16, tsclientlib::Error>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "next_event",
|
|
"owner": "",
|
|
"params": [
|
|
"conn"
|
|
],
|
|
"returnType": "Option<Result<StreamItem, tsclientlib::Error>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Session",
|
|
"params": [
|
|
"store",
|
|
"out",
|
|
"audio_in"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "Session",
|
|
"params": [
|
|
"cmds"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "run_embedded",
|
|
"owner": "Session",
|
|
"params": [
|
|
"cmds",
|
|
"cancel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "run_with_cancel",
|
|
"owner": "Session",
|
|
"params": [
|
|
"cmds",
|
|
"cancel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "audio_state",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "emit_audio_state",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "profile_value",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"returnType": "Result<Value, StoreError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "emit_profile",
|
|
"owner": "Session",
|
|
"params": [
|
|
"profile"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "emit_state",
|
|
"owner": "Session",
|
|
"params": [
|
|
"state",
|
|
"address",
|
|
"reason"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "emit_snapshot",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "connected_conn",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"returnType": "Result<&mut Conn, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "on_input",
|
|
"owner": "Session",
|
|
"params": [
|
|
"input"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"cmd"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "profile_create",
|
|
"owner": "Session",
|
|
"params": [
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "rename",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "connect",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"args"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 78
|
|
},
|
|
{
|
|
"name": "disconnect",
|
|
"owner": "Session",
|
|
"params": [
|
|
"req",
|
|
"message"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "send_simple",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "join_channel",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"channel_id",
|
|
"password"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "send_text",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"target",
|
|
"client_id",
|
|
"expected_client_uid",
|
|
"message"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "set_audio",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"input_muted",
|
|
"output_muted"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "stream_list",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"client_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "stream_join",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"stream_id",
|
|
"client_id",
|
|
"message"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "fetch_avatar",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"client_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "fetch_icon",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"icon_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "fetch_banner",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"channel_id"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "fetch_media",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "pump_ft",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "on_ft_granted",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ftid",
|
|
"result"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "on_ft_done",
|
|
"owner": "Session",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ft_finish",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ftid",
|
|
"err"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "fail_media",
|
|
"owner": "Session",
|
|
"params": [
|
|
"why"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "begin_exit",
|
|
"owner": "Session",
|
|
"params": [
|
|
"req"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "check_exit",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "on_conn_event",
|
|
"owner": "Session",
|
|
"params": [
|
|
"ev"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "on_item",
|
|
"owner": "Session",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 137
|
|
},
|
|
{
|
|
"name": "persist_upgraded_identity",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "on_book_events",
|
|
"owner": "Session",
|
|
"params": [
|
|
"events"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "on_result",
|
|
"owner": "Session",
|
|
"params": [
|
|
"handle",
|
|
"res"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 102
|
|
},
|
|
{
|
|
"name": "revert_rename",
|
|
"owner": "Session",
|
|
"params": [
|
|
"req",
|
|
"attempted",
|
|
"saved",
|
|
"save_err"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "fail_pending",
|
|
"owner": "Session",
|
|
"params": [
|
|
"why"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "close_conn",
|
|
"owner": "Session",
|
|
"params": [
|
|
"reason",
|
|
"respond"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "on_stream_end",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "on_conn_error",
|
|
"owner": "Session",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "rx_reset",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drain_audio",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "report_once",
|
|
"owner": "Session",
|
|
"params": [
|
|
"err"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "tx_route",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"returnType": "Option<(u64, TxCodec, u8)>",
|
|
"exported": false,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "tx_frame",
|
|
"owner": "Session",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 60
|
|
},
|
|
{
|
|
"name": "tx_send",
|
|
"owner": "Session",
|
|
"params": [
|
|
"frame",
|
|
"tx_codec",
|
|
"quality",
|
|
"whisper"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 66
|
|
},
|
|
{
|
|
"name": "vad_reset",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "end_spurt",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "tx_end",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "on_tick",
|
|
"owner": "Session",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 63
|
|
},
|
|
{
|
|
"name": "text_event",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"invoker",
|
|
"message"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "AudioFlags",
|
|
"methods": [],
|
|
"properties": [
|
|
"input_muted",
|
|
"output_muted"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Phase",
|
|
"methods": [],
|
|
"properties": [
|
|
"Connecting",
|
|
"Connected",
|
|
"Disconnecting"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Pending",
|
|
"methods": [],
|
|
"properties": [
|
|
"Simple",
|
|
"MenuContext",
|
|
"MenuRead",
|
|
"SetAudio",
|
|
"Rename",
|
|
"RenameRevert",
|
|
"StreamInfo",
|
|
"Internal",
|
|
"FtInit",
|
|
"AvatarInit",
|
|
"Admin"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "StreamBatch",
|
|
"methods": [],
|
|
"properties": [
|
|
"req",
|
|
"remaining",
|
|
"results"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Conn",
|
|
"methods": [
|
|
"connected",
|
|
"transfer_id",
|
|
"own_channel_codec",
|
|
"send"
|
|
],
|
|
"properties": [
|
|
"con",
|
|
"address",
|
|
"phase",
|
|
"identity",
|
|
"pending",
|
|
"batches",
|
|
"next_batch",
|
|
"dirty",
|
|
"last_snapshot",
|
|
"leave_reason",
|
|
"rx",
|
|
"extras",
|
|
"generation",
|
|
"ft_waiting",
|
|
"ft_active",
|
|
"ft_in_flight",
|
|
"next_ftid",
|
|
"server_port",
|
|
"permissions",
|
|
"gains",
|
|
"avatar",
|
|
"files"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "AvatarUpload",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"req",
|
|
"handle",
|
|
"data",
|
|
"hash",
|
|
"started",
|
|
"task"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "FtJob",
|
|
"methods": [],
|
|
"properties": [
|
|
"req",
|
|
"kind",
|
|
"started"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Tx",
|
|
"methods": [],
|
|
"properties": [
|
|
"encoder",
|
|
"transmitting",
|
|
"burst_open",
|
|
"last_frame",
|
|
"reported",
|
|
"last_overflow_report"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "VadState",
|
|
"methods": [],
|
|
"properties": [
|
|
"gate",
|
|
"route"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Exit",
|
|
"methods": [],
|
|
"properties": [
|
|
"Running",
|
|
"Requested",
|
|
"Done"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Session",
|
|
"methods": [
|
|
"new",
|
|
"run",
|
|
"run_embedded",
|
|
"run_with_cancel",
|
|
"audio_state",
|
|
"emit_audio_state",
|
|
"profile_value",
|
|
"emit_profile",
|
|
"emit_state",
|
|
"emit_snapshot",
|
|
"connected_conn",
|
|
"on_input",
|
|
"handle",
|
|
"profile_create",
|
|
"rename",
|
|
"connect",
|
|
"disconnect",
|
|
"send_simple",
|
|
"join_channel",
|
|
"send_text",
|
|
"set_audio",
|
|
"stream_list",
|
|
"stream_join",
|
|
"fetch_avatar",
|
|
"fetch_icon",
|
|
"fetch_banner",
|
|
"fetch_media",
|
|
"pump_ft",
|
|
"on_ft_granted",
|
|
"on_ft_done",
|
|
"ft_finish",
|
|
"fail_media",
|
|
"begin_exit",
|
|
"check_exit",
|
|
"on_conn_event",
|
|
"on_item",
|
|
"persist_upgraded_identity",
|
|
"on_book_events",
|
|
"on_result",
|
|
"revert_rename",
|
|
"fail_pending",
|
|
"close_conn",
|
|
"on_stream_end",
|
|
"on_conn_error",
|
|
"rx_reset",
|
|
"drain_audio",
|
|
"report_once",
|
|
"tx_route",
|
|
"tx_frame",
|
|
"tx_send",
|
|
"vad_reset",
|
|
"end_spurt",
|
|
"tx_end",
|
|
"on_tick"
|
|
],
|
|
"properties": [
|
|
"store",
|
|
"out",
|
|
"audio_in",
|
|
"flags",
|
|
"conn",
|
|
"tx",
|
|
"vad",
|
|
"whisper",
|
|
"voice",
|
|
"preroll_buf",
|
|
"pcm",
|
|
"rev",
|
|
"exit",
|
|
"stdin_closed",
|
|
"audio_drop_warned",
|
|
"generation",
|
|
"ft_done_tx",
|
|
"ft_done_rx",
|
|
"avatar_tx",
|
|
"avatar_rx",
|
|
"rec",
|
|
"rec_finishing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 28
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::future",
|
|
"specifiers": [
|
|
"Future"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::net",
|
|
"specifiers": [
|
|
"IpAddr",
|
|
"SocketAddr"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "futures",
|
|
"specifiers": [
|
|
"StreamExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "num_traits",
|
|
"specifiers": [
|
|
"ToPrimitive"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "tracing",
|
|
"specifiers": [
|
|
"debug",
|
|
"info",
|
|
"warn"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::data::exts",
|
|
"specifiers": [
|
|
"M2BClientMoveExt",
|
|
"M2BClientUpdateExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::events",
|
|
"specifiers": [
|
|
"Event",
|
|
"PropertyId"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"ChannelId",
|
|
"ClientId",
|
|
"ClientType",
|
|
"CommandError",
|
|
"Connection",
|
|
"DisconnectOptions",
|
|
"Invoker",
|
|
"MessageTarget",
|
|
"OutCommandExt",
|
|
"Reason",
|
|
"ServerAddress",
|
|
"StreamItem",
|
|
"TsError"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::messages::c2s",
|
|
"specifiers": [
|
|
"OutInitDownloadMessage",
|
|
"OutInitDownloadPart"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"OutCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"self",
|
|
"AudioIn",
|
|
"AudioInQueue",
|
|
"Receiver",
|
|
"RxEvent",
|
|
"TxCodec",
|
|
"TxEncoder"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::vad",
|
|
"specifiers": [
|
|
"Decision",
|
|
"VoiceGate",
|
|
"MAX_PREROLL_FRAMES"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media",
|
|
"specifiers": [
|
|
"self",
|
|
"MediaKind"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::menu",
|
|
"specifiers": [
|
|
"self",
|
|
"ActionRequest",
|
|
"Target"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::io",
|
|
"specifiers": [
|
|
"AsyncWriteExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "md5",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Md5"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::profile",
|
|
"specifiers": [
|
|
"store_error",
|
|
"validate_nickname",
|
|
"Store",
|
|
"StoreError",
|
|
"StoredIdentity"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"Command",
|
|
"ConnectArgs",
|
|
"ErrorCode",
|
|
"ErrorObj",
|
|
"Input",
|
|
"TextTarget",
|
|
"TsErrorInfo",
|
|
"FRAME_SAMPLES"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"admin"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"rawcmd"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::snapshot",
|
|
"specifiers": [
|
|
"self",
|
|
"RawExtras"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::output",
|
|
"specifiers": [
|
|
"Out"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"CapturedFrame"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Session",
|
|
"new",
|
|
"run",
|
|
"run_embedded",
|
|
"run_with_cancel"
|
|
],
|
|
"totalLines": 1711,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/snapshot.rs": {
|
|
"filePath": "core/src/snapshot.rs",
|
|
"contentHash": "1fc63e51cde5e467ec1ca1a7a5a75ff8dced38a86e783bcfa27082ebc0fc82e1",
|
|
"functions": [
|
|
{
|
|
"name": "limit",
|
|
"owner": "",
|
|
"params": [
|
|
"m"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "server_features",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "merge",
|
|
"owner": "ChannelExtra",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "merge",
|
|
"owner": "ClientExtra",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "parse_myts_avatar",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Vec<(u32, String)>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "non_empty",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "server_properties",
|
|
"owner": "RawExtras",
|
|
"params": [],
|
|
"returnType": "&BTreeMap<String, String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel_properties",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"channel_id"
|
|
],
|
|
"returnType": "Option<&BTreeMap<String, String>>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "client_myts_avatars",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"returnType": "&[(u32, String)]",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "channel_banner",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"channel_id"
|
|
],
|
|
"returnType": "Option<&str>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "client_label",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"returnType": "Label",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "channel_label",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"channel_id"
|
|
],
|
|
"returnType": "Label",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 75
|
|
},
|
|
{
|
|
"name": "prune",
|
|
"owner": "RawExtras",
|
|
"params": [
|
|
"book"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "uid_string",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "icon",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name_mode",
|
|
"owner": "",
|
|
"params": [
|
|
"m"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "group_type",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "hostbanner_mode",
|
|
"owner": "",
|
|
"params": [
|
|
"m"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "server_group_json",
|
|
"owner": "",
|
|
"params": [
|
|
"g"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "channel_group_json",
|
|
"owner": "",
|
|
"params": [
|
|
"g"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "channel_json",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"depth",
|
|
"extras"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "client_json",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"own",
|
|
"extras"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "ordered_channels",
|
|
"owner": "",
|
|
"params": [
|
|
"channels"
|
|
],
|
|
"returnType": "Vec<(ChannelId, usize)>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "walk",
|
|
"owner": "",
|
|
"params": [
|
|
"parent",
|
|
"depth",
|
|
"children",
|
|
"visited",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 43
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "",
|
|
"params": [
|
|
"book",
|
|
"rev",
|
|
"extras"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 49
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "RawExtras",
|
|
"methods": [
|
|
"server_properties",
|
|
"channel_properties",
|
|
"client_myts_avatars",
|
|
"channel_banner",
|
|
"client_label",
|
|
"channel_label",
|
|
"apply",
|
|
"prune"
|
|
],
|
|
"properties": [
|
|
"channels",
|
|
"clients",
|
|
"server_properties",
|
|
"capability_extensions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ChannelExtra",
|
|
"methods": [
|
|
"merge"
|
|
],
|
|
"properties": [
|
|
"properties",
|
|
"banner_url",
|
|
"banner_mode",
|
|
"name",
|
|
"parent"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "ClientExtra",
|
|
"methods": [
|
|
"merge"
|
|
],
|
|
"properties": [
|
|
"is_streaming",
|
|
"myts_avatars",
|
|
"myts_avatar_unparsed",
|
|
"has_myts",
|
|
"nickname",
|
|
"uid",
|
|
"channel"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"uid",
|
|
"channel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::data",
|
|
"specifiers": [
|
|
"Channel",
|
|
"ChannelGroup",
|
|
"Client",
|
|
"Connection",
|
|
"ServerGroup"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"ChannelId",
|
|
"ChannelType",
|
|
"ClientType",
|
|
"GroupNamingMode",
|
|
"GroupType",
|
|
"HostBannerMode",
|
|
"IconId",
|
|
"MaxClients"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"codec_name"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::rawcmd",
|
|
"specifiers": [
|
|
"RawNotification"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"RawExtras",
|
|
"Label",
|
|
"parse_myts_avatar",
|
|
"server_properties",
|
|
"channel_properties",
|
|
"client_myts_avatars",
|
|
"channel_banner",
|
|
"client_label",
|
|
"channel_label",
|
|
"apply",
|
|
"prune",
|
|
"ordered_channels",
|
|
"build"
|
|
],
|
|
"totalLines": 596,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/stdio.rs": {
|
|
"filePath": "core/src/stdio.rs",
|
|
"contentHash": "e8b383ce30fe5d3308e958aa8c379db361f97b923ea9939ecb7d21def0401006",
|
|
"functions": [
|
|
{
|
|
"name": "run_writer",
|
|
"owner": "",
|
|
"params": [
|
|
"rx",
|
|
"playback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "run_reader",
|
|
"owner": "",
|
|
"params": [
|
|
"input",
|
|
"cmds",
|
|
"audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 75
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"BufRead",
|
|
"BufReader",
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::io",
|
|
"specifiers": [
|
|
"AsyncWriteExt",
|
|
"BufWriter"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "tracing",
|
|
"specifiers": [
|
|
"error",
|
|
"warn"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"AudioIn",
|
|
"AudioInQueue",
|
|
"CapturedFrame"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"self",
|
|
"ErrorCode",
|
|
"ErrorObj",
|
|
"Input",
|
|
"MAX_LINE_BYTES"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::output",
|
|
"specifiers": [
|
|
"PlaybackReceiver"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"run_writer",
|
|
"run_reader"
|
|
],
|
|
"totalLines": 149,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/test_exec.rs": {
|
|
"filePath": "core/src/test_exec.rs",
|
|
"contentHash": "317e9ea149a272844fb84e7bde22fb6ed3d7b045f83182a60c3619391c4f80e9",
|
|
"functions": [
|
|
{
|
|
"name": "self_invocation",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "(String, Vec<String>)",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [
|
|
"self_invocation"
|
|
],
|
|
"totalLines": 22,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/vad.rs": {
|
|
"filePath": "core/src/vad.rs",
|
|
"contentHash": "b7b2c775a8cd0a01e50cbfc52214d05aa34ecfb182a4acd1c2469ec2b122f4a3",
|
|
"functions": [
|
|
{
|
|
"name": "threshold",
|
|
"owner": "Sensitivity",
|
|
"params": [],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "Sensitivity",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "detector_name",
|
|
"owner": "GateMode",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "sensitivity",
|
|
"owner": "GateMode",
|
|
"params": [],
|
|
"returnType": "Option<Sensitivity>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "level_db",
|
|
"owner": "GateMode",
|
|
"params": [],
|
|
"returnType": "Option<f32>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "warmup",
|
|
"owner": "GateMode",
|
|
"params": [],
|
|
"returnType": "u32",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "frame_level_db",
|
|
"owner": "",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Decimator",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "Decimator",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "Decimator",
|
|
"params": [
|
|
"frame",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "sensitivity",
|
|
"owner": "VoiceGate",
|
|
"params": [],
|
|
"returnType": "Sensitivity",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "mode",
|
|
"owner": "VoiceGate",
|
|
"params": [],
|
|
"returnType": "GateMode",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_mode",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"owner": "VoiceGate",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "VoiceGate",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "detect",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "(bool, bool)",
|
|
"exported": false,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "level",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "(bool, bool)",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "push",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Decision",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "push_captured",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Decision",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "classify",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Decision",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "remember",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "take_preroll",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"out"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "take_captured_preroll",
|
|
"owner": "VoiceGate",
|
|
"params": [
|
|
"out"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Sensitivity",
|
|
"methods": [
|
|
"threshold",
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"High",
|
|
"Normal",
|
|
"Low"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "GateMode",
|
|
"methods": [
|
|
"from",
|
|
"detector_name",
|
|
"sensitivity",
|
|
"level_db",
|
|
"warmup"
|
|
],
|
|
"properties": [
|
|
"Automatic",
|
|
"VolumeGate",
|
|
"Hybrid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Decision",
|
|
"methods": [],
|
|
"properties": [
|
|
"Hold",
|
|
"Start",
|
|
"Send",
|
|
"SendAndEnd"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Decimator",
|
|
"methods": [
|
|
"new",
|
|
"reset",
|
|
"process"
|
|
],
|
|
"properties": [
|
|
"coeffs",
|
|
"buf"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "CaptureMetadata",
|
|
"methods": [],
|
|
"properties": [
|
|
"captured_at",
|
|
"connection_generation",
|
|
"capture_epoch",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "VoiceGate",
|
|
"methods": [
|
|
"new",
|
|
"sensitivity",
|
|
"mode",
|
|
"set_mode",
|
|
"is_active",
|
|
"reset",
|
|
"detect",
|
|
"level",
|
|
"push",
|
|
"push_captured",
|
|
"classify",
|
|
"remember",
|
|
"take_preroll",
|
|
"take_captured_preroll"
|
|
],
|
|
"properties": [
|
|
"detector",
|
|
"decimator",
|
|
"threshold",
|
|
"mode",
|
|
"pending",
|
|
"pending_len",
|
|
"resampled",
|
|
"voiced_run",
|
|
"hangover",
|
|
"preroll",
|
|
"preroll_metadata",
|
|
"capture_context",
|
|
"preroll_start",
|
|
"preroll_len",
|
|
"warmup",
|
|
"since_reset"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 22
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "earshot",
|
|
"specifiers": [
|
|
"Detector"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::audio",
|
|
"specifiers": [
|
|
"CapturedFrame"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"Frame",
|
|
"FRAME_SAMPLES"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Sensitivity",
|
|
"threshold",
|
|
"name",
|
|
"GateMode",
|
|
"detector_name",
|
|
"frame_level_db",
|
|
"Decision",
|
|
"VoiceGate",
|
|
"new",
|
|
"sensitivity",
|
|
"mode",
|
|
"set_mode",
|
|
"is_active",
|
|
"reset",
|
|
"push",
|
|
"push_captured",
|
|
"take_preroll",
|
|
"take_captured_preroll"
|
|
],
|
|
"totalLines": 997,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/voice_dsp.rs": {
|
|
"filePath": "core/src/voice_dsp.rs",
|
|
"contentHash": "c9baa0b1144e65046263ac061a1fdce363d822425ef81227ad4fa0cdd2f3a52b",
|
|
"functions": [
|
|
{
|
|
"name": "valid_modifier_db",
|
|
"owner": "",
|
|
"params": [
|
|
"db"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "db_to_gain",
|
|
"owner": "",
|
|
"params": [
|
|
"db"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"msg"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "parse_transmit",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<Option<GateMode>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "validate_transmit",
|
|
"owner": "",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "transmit_result",
|
|
"owner": "",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "parse_local_volumes",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<LocalVolumesUpdate, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "validate_local_volumes",
|
|
"owner": "",
|
|
"params": [
|
|
"update"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "apply_volumes",
|
|
"owner": "VoiceSettings",
|
|
"params": [
|
|
"update"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "parse_playback_dsp",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<bool, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SpeakerAgc",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "observe",
|
|
"owner": "SpeakerAgc",
|
|
"params": [
|
|
"rms_dbfs"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "rms_dbfs",
|
|
"owner": "",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "set_agc",
|
|
"owner": "PlaybackDsp",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "agc_enabled",
|
|
"owner": "PlaybackDsp",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "observe",
|
|
"owner": "PlaybackDsp",
|
|
"params": [
|
|
"client_id",
|
|
"samples"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "speaker_gain",
|
|
"owner": "PlaybackDsp",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "remove",
|
|
"owner": "PlaybackDsp",
|
|
"params": [
|
|
"client_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "PlaybackDsp",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "VoiceSettings",
|
|
"methods": [
|
|
"apply_volumes"
|
|
],
|
|
"properties": [
|
|
"volumes",
|
|
"playback_agc"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "TransmitArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"mode",
|
|
"detector",
|
|
"sensitivity",
|
|
"level_db"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "VolumeEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"db"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "LocalVolumesArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"replace",
|
|
"volumes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "LocalVolumesUpdate",
|
|
"methods": [],
|
|
"properties": [
|
|
"replace",
|
|
"volumes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "PlaybackDspArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"agc"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "SpeakerAgc",
|
|
"methods": [
|
|
"new",
|
|
"observe"
|
|
],
|
|
"properties": [
|
|
"level",
|
|
"gain_db"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "PlaybackDsp",
|
|
"methods": [
|
|
"set_agc",
|
|
"agc_enabled",
|
|
"observe",
|
|
"speaker_gain",
|
|
"remove",
|
|
"reset"
|
|
],
|
|
"properties": [
|
|
"agc_enabled",
|
|
"agc"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json::value",
|
|
"specifiers": [
|
|
"RawValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::vad",
|
|
"specifiers": [
|
|
"GateMode",
|
|
"Sensitivity",
|
|
"MAX_LEVEL_DB",
|
|
"MIN_LEVEL_DB"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"valid_modifier_db",
|
|
"db_to_gain",
|
|
"VoiceSettings",
|
|
"parse_transmit",
|
|
"validate_transmit",
|
|
"transmit_result",
|
|
"LocalVolumesUpdate",
|
|
"parse_local_volumes",
|
|
"validate_local_volumes",
|
|
"apply_volumes",
|
|
"parse_playback_dsp",
|
|
"rms_dbfs",
|
|
"PlaybackDsp",
|
|
"set_agc",
|
|
"agc_enabled",
|
|
"observe",
|
|
"speaker_gain",
|
|
"remove",
|
|
"reset"
|
|
],
|
|
"totalLines": 473,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/voice_dsp_session.rs": {
|
|
"filePath": "core/src/voice_dsp_session.rs",
|
|
"contentHash": "73cac7979396ff3f9fd6181d89e94d3bc5aebbed878705ac111082ae4acbb58a",
|
|
"functions": [
|
|
{
|
|
"name": "set_transmit",
|
|
"owner": "Session",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "set_local_volumes",
|
|
"owner": "Session",
|
|
"params": [
|
|
"update"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_playback_dsp",
|
|
"owner": "Session",
|
|
"params": [
|
|
"agc"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::vad",
|
|
"specifiers": [
|
|
"GateMode"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"voice_dsp"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"set_transmit",
|
|
"set_local_volumes",
|
|
"set_playback_dsp"
|
|
],
|
|
"totalLines": 49,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/whisper.rs": {
|
|
"filePath": "core/src/whisper.rs",
|
|
"contentHash": "7a61df95c6de020ef49b6738b3948f0f67df24dbe92fc927b0cba003b9cacdcf",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"msg"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "whisper_error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"reason",
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "no_targets",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "too_many_targets",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "invalid_list",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "while_muted",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ErrorObj",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "WhisperCommand",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "args",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<T, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "check_text",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check_epoch",
|
|
"owner": "",
|
|
"params": [
|
|
"epoch"
|
|
],
|
|
"returnType": "Result<u32, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "parse_target",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<TargetSpec, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"raw"
|
|
],
|
|
"returnType": "Result<WhisperCommand, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(), ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "from_book",
|
|
"owner": "View<'a>",
|
|
"params": [
|
|
"book"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "find_channel_by_path",
|
|
"owner": "View<'a>",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "clients_by_uid",
|
|
"owner": "View<'a>",
|
|
"params": [
|
|
"uid",
|
|
"nickname"
|
|
],
|
|
"returnType": "Vec<u16>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "client",
|
|
"owner": "View<'a>",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<&ClientView<'a>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "uid_bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Vec<u8>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_empty",
|
|
"owner": "Route",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "prune",
|
|
"owner": "Route",
|
|
"params": [
|
|
"client_uid",
|
|
"channel_exists"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "prune_with",
|
|
"owner": "Route",
|
|
"params": [
|
|
"client_matches",
|
|
"channel_exists"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "prune_book",
|
|
"owner": "Route",
|
|
"params": [
|
|
"book"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"owner": "Route",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "packet",
|
|
"owner": "",
|
|
"params": [
|
|
"route",
|
|
"codec",
|
|
"data"
|
|
],
|
|
"returnType": "OutPacket",
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "IdsBuilder",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel",
|
|
"owner": "IdsBuilder",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "client",
|
|
"owner": "IdsBuilder",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "IdsBuilder",
|
|
"params": [
|
|
"view"
|
|
],
|
|
"returnType": "Result<Route, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": "",
|
|
"params": [
|
|
"spec",
|
|
"view"
|
|
],
|
|
"returnType": "Result<Route, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "active_epoch",
|
|
"owner": "Whisper",
|
|
"params": [],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Whisper",
|
|
"params": [
|
|
"epoch",
|
|
"generation",
|
|
"route"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "Whisper",
|
|
"params": [
|
|
"epoch"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "Whisper",
|
|
"params": [],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "route_mut",
|
|
"owner": "Whisper",
|
|
"params": [
|
|
"epoch",
|
|
"generation"
|
|
],
|
|
"returnType": "Option<&mut Route>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "route_for_send",
|
|
"owner": "Whisper",
|
|
"params": [
|
|
"epoch",
|
|
"generation",
|
|
"book"
|
|
],
|
|
"returnType": "Option<&mut Route>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "spurt",
|
|
"owner": "Whisper",
|
|
"params": [],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_spurt",
|
|
"owner": "Whisper",
|
|
"params": [
|
|
"epoch"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_spurt",
|
|
"owner": "Whisper",
|
|
"params": [],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Entry",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"uuid",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ClientRef",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"uid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "TargetSpec",
|
|
"methods": [],
|
|
"properties": [
|
|
"List",
|
|
"Group",
|
|
"Ids"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "WhisperCommand",
|
|
"methods": [
|
|
"name"
|
|
],
|
|
"properties": [
|
|
"Start",
|
|
"Stop",
|
|
"SetReceive"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "StartArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"epoch",
|
|
"target"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "KindOnly",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "ListArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"entries"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "GroupArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"group_type",
|
|
"target_mode",
|
|
"group_id",
|
|
"server_uuid"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "IdsArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"clients",
|
|
"channel_ids"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "StopArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"epoch"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "ReceiveArgs",
|
|
"methods": [],
|
|
"properties": [
|
|
"mode"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "View",
|
|
"methods": [],
|
|
"properties": [
|
|
"server_uid",
|
|
"own_channel",
|
|
"channels",
|
|
"clients"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "ChannelView",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"parent",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ClientView",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"channel",
|
|
"uid",
|
|
"nickname"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Route",
|
|
"methods": [
|
|
"is_empty",
|
|
"prune",
|
|
"prune_with",
|
|
"prune_book",
|
|
"summary"
|
|
],
|
|
"properties": [
|
|
"Ids",
|
|
"Group"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "IdsBuilder",
|
|
"methods": [
|
|
"new",
|
|
"channel",
|
|
"client",
|
|
"finish"
|
|
],
|
|
"properties": [
|
|
"channels",
|
|
"clients"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Active",
|
|
"methods": [],
|
|
"properties": [
|
|
"epoch",
|
|
"generation",
|
|
"route"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Whisper",
|
|
"methods": [
|
|
"active_epoch",
|
|
"start",
|
|
"stop",
|
|
"clear",
|
|
"route_mut",
|
|
"route_for_send",
|
|
"spurt",
|
|
"set_spurt",
|
|
"take_spurt"
|
|
],
|
|
"properties": [
|
|
"active",
|
|
"spurt",
|
|
"deny_incoming"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "base64::prelude",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde::de",
|
|
"specifiers": [
|
|
"DeserializeOwned"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json::value",
|
|
"specifiers": [
|
|
"RawValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib::data",
|
|
"specifiers": [
|
|
"Connection"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsclientlib",
|
|
"specifiers": [
|
|
"ChannelId",
|
|
"ClientId"
|
|
]
|
|
},
|
|
{
|
|
"source": "tsproto_packets::packets",
|
|
"specifiers": [
|
|
"AudioData",
|
|
"CodecType",
|
|
"OutAudio",
|
|
"OutPacket"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::protocol",
|
|
"specifiers": [
|
|
"ErrorCode",
|
|
"ErrorObj",
|
|
"TsErrorInfo"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"no_targets",
|
|
"while_muted",
|
|
"Entry",
|
|
"ClientRef",
|
|
"TargetSpec",
|
|
"WhisperCommand",
|
|
"name",
|
|
"parse",
|
|
"validate",
|
|
"View",
|
|
"ChannelView",
|
|
"ClientView",
|
|
"from_book",
|
|
"find_channel_by_path",
|
|
"uid_bytes",
|
|
"Route",
|
|
"is_empty",
|
|
"prune",
|
|
"prune_book",
|
|
"packet",
|
|
"resolve",
|
|
"Whisper",
|
|
"active_epoch",
|
|
"start",
|
|
"stop",
|
|
"clear",
|
|
"route_mut",
|
|
"route_for_send",
|
|
"spurt",
|
|
"set_spurt",
|
|
"take_spurt"
|
|
],
|
|
"totalLines": 921,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/src/whisper_session.rs": {
|
|
"filePath": "core/src/whisper_session.rs",
|
|
"contentHash": "60b146f363755e4320170d3203670052e6780f15fca9d42075e33cec423d206c",
|
|
"functions": [
|
|
{
|
|
"name": "whisper_command",
|
|
"owner": "Session",
|
|
"params": [
|
|
"_id",
|
|
"cmd"
|
|
],
|
|
"returnType": "Result<Option<Value>, ErrorObj>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "whisper_start",
|
|
"owner": "Session",
|
|
"params": [
|
|
"epoch",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Value, ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "whisper_resolve",
|
|
"owner": "Session",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<(u64, whisper::Route), ErrorObj>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "whisper_cleared",
|
|
"owner": "Session",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::whisper",
|
|
"specifiers": [
|
|
"self",
|
|
"View",
|
|
"WhisperCommand"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"whisper_command",
|
|
"whisper_cleared"
|
|
],
|
|
"totalLines": 79,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/tests/bridge_smoke.rs": {
|
|
"filePath": "core/tests/bridge_smoke.rs",
|
|
"contentHash": "5f482785ccf2b5694b2d3e62a2b9a637ff0369c3eb2eb1799505aa7e376b4213",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "TempDir",
|
|
"params": [
|
|
"tag"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Core",
|
|
"params": [
|
|
"dir"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "next",
|
|
"owner": "Core",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "Core",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "Core",
|
|
"params": [
|
|
"id",
|
|
"cmd",
|
|
"args"
|
|
],
|
|
"returnType": "(Value, Vec<Value>)",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "Core",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "cli",
|
|
"owner": "",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "(i32, Value)",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "identity_lifecycle_over_stdio",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 94
|
|
},
|
|
{
|
|
"name": "corrupt_identity_is_reported_not_replaced",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "stdin_eof_exits_cleanly",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "base64_silence",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "client_menu_commands_are_validated_and_never_fake_success_offline",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "publisher_commands_validate_through_real_stdio_without_server",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "TempDir",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Core",
|
|
"methods": [
|
|
"start",
|
|
"next",
|
|
"send",
|
|
"request",
|
|
"shutdown"
|
|
],
|
|
"properties": [
|
|
"child",
|
|
"stdin",
|
|
"lines",
|
|
"transcript"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"BufRead",
|
|
"BufReader",
|
|
"Write"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::process",
|
|
"specifiers": [
|
|
"Child",
|
|
"ChildStdin",
|
|
"Command",
|
|
"Stdio"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 290,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/tests/embedded.rs": {
|
|
"filePath": "core/tests/embedded.rs",
|
|
"contentHash": "ac494b2f24ec26a59e0c7e6094a2b80adef9f8303520b4eebebd47bedb9843fe",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "config",
|
|
"owner": "Profile",
|
|
"params": [
|
|
"slot"
|
|
],
|
|
"returnType": "CoreConfig",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "embedded_identity_survives_repeated_worker_lifetimes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "native_requests_validate_before_session_dispatch",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "duplicate_connection_slot_is_refused_and_released_after_shutdown",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Profile",
|
|
"methods": [
|
|
"new",
|
|
"config",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 58,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/tests/fixtures/README.md": {
|
|
"filePath": "core/tests/fixtures/README.md",
|
|
"contentHash": "14f87e7de33ed15cbe71844256018baea93d97d3d720b54be74f8b55ac846f36",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 22,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"core/tests/fixtures/speech-librivox-48k.wav": {
|
|
"filePath": "core/tests/fixtures/speech-librivox-48k.wav",
|
|
"contentHash": "4dfe94161b826c0c236b950e5955680f34e6cfac56eaf794c8efe432516ca7f7",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 1089,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"core/tests/runtime_failures.rs": {
|
|
"filePath": "core/tests/runtime_failures.rs",
|
|
"contentHash": "be2ac4cfcd8af8f0eb15b52658fc6ab9ea03811ffed660800252d1f4161e71d5",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "config",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "CoreConfig",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "(CoreHandle, CoreEvents, serde_json::Value)",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "assert_reusable",
|
|
"owner": "Profile",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "audio_state_request",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "dropped_control_consumer_terminates_requests_and_releases_slot",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "full_control_queue_ends_core_without_a_consumer_drain",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "requests_queued_after_shutdown_complete_with_stopped_error",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "abandoning_a_request_preserves_subsequent_requests_and_shutdown",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Profile",
|
|
"methods": [
|
|
"new",
|
|
"config",
|
|
"start",
|
|
"assert_reusable",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"task::Poll",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "tokio::time",
|
|
"specifiers": [
|
|
"timeout"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 112,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"core/tools/third_party_notices.py": {
|
|
"filePath": "core/tools/third_party_notices.py",
|
|
"contentHash": "5fcbb0010b9de1d8a60b9197eb4ee703789efa03e9dfcb86bd6d2ad433f0a771",
|
|
"functions": [
|
|
{
|
|
"name": "fallback_text",
|
|
"params": [
|
|
"pkg"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "license_files",
|
|
"params": [
|
|
"directory",
|
|
"stop"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "main",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 67
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "hashlib",
|
|
"specifiers": [
|
|
"hashlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "os",
|
|
"specifiers": [
|
|
"os"
|
|
]
|
|
},
|
|
{
|
|
"source": "re",
|
|
"specifiers": [
|
|
"re"
|
|
]
|
|
},
|
|
{
|
|
"source": "subprocess",
|
|
"specifiers": [
|
|
"subprocess"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys",
|
|
"specifiers": [
|
|
"sys"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"fallback_text",
|
|
"license_files",
|
|
"main"
|
|
],
|
|
"totalLines": 162,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"docs/bridge.md": {
|
|
"filePath": "docs/bridge.md",
|
|
"contentHash": "a9516fc1211e727554dd583edcdb6f4d694ca5385f2eaaad77d7527a1ccffd59",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 860,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"docs/i18n.md": {
|
|
"filePath": "docs/i18n.md",
|
|
"contentHash": "fa36f8df568526dde729dc154a6c44e1b8ddf2cd466e01e10c0f3ff0bd6b304d",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 46,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"docs/mobile-port-assessment.md": {
|
|
"filePath": "docs/mobile-port-assessment.md",
|
|
"contentHash": "3b0290e0d13f15c3c160a9a92f72e6f8119cf18e8e7ab249ae57904f1751d385",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 324,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"docs/mobile-port-progress.md": {
|
|
"filePath": "docs/mobile-port-progress.md",
|
|
"contentHash": "6de59e2ab0afaacb004ab82807b369df416eb15e0fcea6a2cee0079cc0eb3094",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 57,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"docs/themes.md": {
|
|
"filePath": "docs/themes.md",
|
|
"contentHash": "25d55c0a3e1e4e81bcdafd7757594b1fe51991c9891b5181a177fee6592badbb",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 73,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"docs/updates.md": {
|
|
"filePath": "docs/updates.md",
|
|
"contentHash": "ea60e0751d7a6fb0a9bc7a817d0d29eaeffee685593e1b73af21766a12866ace",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 67,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"dsp/Cargo.toml": {
|
|
"filePath": "dsp/Cargo.toml",
|
|
"contentHash": "f6a9828b1a9877e2dbb13ef3f9ccd1a8006f41777c7bfb1db6316a6f7b5172cd",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 23,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"dsp/src/capture.rs": {
|
|
"filePath": "dsp/src/capture.rs",
|
|
"contentHash": "0198b0e90aaa4dbf443c3a5acb9e139e6ccaaea7073e2bb790335c971aa0402a",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"owner": null,
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "fmt::Result",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "source",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<&(dyn Error + 'static)>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "configuration",
|
|
"owner": "",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<Config, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "CaptureProcessor",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<Self, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "process_render",
|
|
"owner": "CaptureProcessor",
|
|
"params": [
|
|
"samples",
|
|
"delay_ms"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "process_capture",
|
|
"owner": "CaptureProcessor",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "CaptureProcessor",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "copy_input",
|
|
"owner": "CaptureProcessor",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureSettings",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"echo_cancellation",
|
|
"noise_suppression",
|
|
"automatic_gain_control"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "CaptureError",
|
|
"methods": [
|
|
"fmt",
|
|
"source",
|
|
"from"
|
|
],
|
|
"properties": [
|
|
"InvalidNoiseSuppressionLevel",
|
|
"InvalidDelay",
|
|
"NonFiniteInput",
|
|
"NonFiniteOutput",
|
|
"MissingRenderReference",
|
|
"Sonora"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "CaptureProcessor",
|
|
"methods": [
|
|
"new",
|
|
"process_render",
|
|
"process_capture",
|
|
"reset",
|
|
"copy_input"
|
|
],
|
|
"properties": [
|
|
"processing",
|
|
"settings",
|
|
"input",
|
|
"render_output",
|
|
"render_ready"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"error::Error",
|
|
"fmt"
|
|
]
|
|
},
|
|
{
|
|
"source": "sonora",
|
|
"specifiers": [
|
|
"AudioProcessing",
|
|
"StreamConfig"
|
|
]
|
|
},
|
|
{
|
|
"source": "sonora::config",
|
|
"specifiers": [
|
|
"AdaptiveDigital",
|
|
"Config",
|
|
"EchoCanceller",
|
|
"GainController2",
|
|
"NoiseSuppression",
|
|
"MaxProcessingRate",
|
|
"NoiseSuppressionLevel",
|
|
"Pipeline"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"FRAME_SAMPLES"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CaptureSettings",
|
|
"CaptureError",
|
|
"CaptureProcessor",
|
|
"new",
|
|
"process_render",
|
|
"process_capture",
|
|
"reset"
|
|
],
|
|
"totalLines": 222,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"dsp/src/capture/tests.rs": {
|
|
"filePath": "dsp/src/capture/tests.rs",
|
|
"contentHash": "1fe6d11b2c97616787d2d944e741e7eaa0e2557df930cadc4e9eead95954b88c",
|
|
"functions": [
|
|
{
|
|
"name": "noise",
|
|
"owner": "",
|
|
"params": [
|
|
"seed",
|
|
"amplitude"
|
|
],
|
|
"returnType": "[f32; FRAME_SAMPLES]",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "harmonic",
|
|
"owner": "",
|
|
"params": [
|
|
"frame",
|
|
"amplitude"
|
|
],
|
|
"returnType": "[f32; FRAME_SAMPLES]",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "energy",
|
|
"owner": "",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "assert_normalized",
|
|
"owner": "",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "disabled_stages_preserve_signal_without_filterbank_delay",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "all_noise_levels_attenuate_stationary_noise_in_order",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "adaptive_agc_boosts_quiet_voiced_input_without_hardware_gain",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "reverse_reference_is_required_after_each_device_reset",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "delayed_echo_is_attenuated_by_the_actual_reverse_signal",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "combined_pipeline_matches_one_direct_sonora_instance",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "finite_extremes_are_clamped_before_any_stage",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "rejected_inputs_and_delays_do_not_change_processing_state",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "reset_discards_echo_noise_gain_history_and_matches_a_fresh_device",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "invalid_settings_never_construct_a_processor",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 277,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"dsp/src/lib.rs": {
|
|
"filePath": "dsp/src/lib.rs",
|
|
"contentHash": "c5adefa4a8c6d8d312d333639c103e5dab256c63e47ab781cc09fcd28b623784",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "capture",
|
|
"specifiers": [
|
|
"CaptureError",
|
|
"CaptureProcessor",
|
|
"CaptureSettings"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 20,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"dsp/src/noise_reference.rs": {
|
|
"filePath": "dsp/src/noise_reference.rs",
|
|
"contentHash": "7b8af0ad28e9c15b28d4b9a30a9bbb2272e5436925c57da22747e4580f205c9c",
|
|
"functions": [
|
|
{
|
|
"name": "suppression_level",
|
|
"owner": "",
|
|
"params": [
|
|
"level"
|
|
],
|
|
"returnType": "Option<SuppressionLevel>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "new_suppressor",
|
|
"owner": "",
|
|
"params": [
|
|
"target_level"
|
|
],
|
|
"returnType": "NoiseSuppressor",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Denoiser",
|
|
"params": [
|
|
"level"
|
|
],
|
|
"returnType": "Option<Self>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "Denoiser",
|
|
"params": [
|
|
"level"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "frame_mut",
|
|
"owner": "Denoiser",
|
|
"params": [],
|
|
"returnType": "&mut [f32; FRAME_SAMPLES]",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "Denoiser",
|
|
"params": [],
|
|
"returnType": "Result<(), ProcessError>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ProcessError",
|
|
"methods": [],
|
|
"properties": [
|
|
"NonFiniteInput"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Denoiser",
|
|
"methods": [
|
|
"new",
|
|
"reset",
|
|
"frame_mut",
|
|
"process"
|
|
],
|
|
"properties": [
|
|
"frame",
|
|
"bands",
|
|
"filter_bank",
|
|
"suppressor"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"FRAME_SAMPLES"
|
|
]
|
|
},
|
|
{
|
|
"source": "sonora::three_band_filter_bank",
|
|
"specifiers": [
|
|
"FULL_BAND_SIZE",
|
|
"NUM_BANDS",
|
|
"SPLIT_BAND_SIZE",
|
|
"ThreeBandFilterBank"
|
|
]
|
|
},
|
|
{
|
|
"source": "sonora_ns::config",
|
|
"specifiers": [
|
|
"NS_FRAME_SIZE",
|
|
"NsConfig",
|
|
"SuppressionLevel"
|
|
]
|
|
},
|
|
{
|
|
"source": "sonora_ns::noise_suppressor",
|
|
"specifiers": [
|
|
"NoiseSuppressor"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ProcessError",
|
|
"Denoiser",
|
|
"new",
|
|
"reset",
|
|
"frame_mut",
|
|
"process"
|
|
],
|
|
"totalLines": 316,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/Cargo.toml": {
|
|
"filePath": "native/Cargo.toml",
|
|
"contentHash": "24db228a9e6d01a8df172da240c90f53f6b046880a13417a6bc69f9fd2635dec",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 101,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/build.rs": {
|
|
"filePath": "native/build.rs",
|
|
"contentHash": "2266df225e20cee971bb124650d9cb5babab7d119ad5cab5b906cc2e32062a88",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "build_camera",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "build_mobile_capture",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "build_platform",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 28
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 102,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/examples/desktop_startup_smoke.rs": {
|
|
"filePath": "native/examples/desktop_startup_smoke.rs",
|
|
"contentHash": "0637ea866cda12f251c350b70acb6e7e942526adf056f27e508c86f91baf39cf",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(),Box<dyn std::error::Error>>",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"rc::Rc",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_native",
|
|
"specifiers": [
|
|
"AppConfig",
|
|
"AppRuntime",
|
|
"ui::application"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 38,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/examples/webrtc_smoke.rs": {
|
|
"filePath": "native/examples/webrtc_smoke.rs",
|
|
"contentHash": "4a5cb7dcff1d314fcf7b3cffc08cd8de8f43751854b87f85b4b84c64d505c3d8",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(),Box<dyn std::error::Error>>",
|
|
"exported": false,
|
|
"lineCount": 57
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "libwebrtc",
|
|
"specifiers": [
|
|
"peer_connection_factory::RtcConfiguration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_native",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 62,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/packaging/AppRun": {
|
|
"filePath": "native/packaging/AppRun",
|
|
"contentHash": "c3b47dc41275f1891ca8c9c2a998006f5c3057b0a0ebff6b0d8b608195cfffc3",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 6,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/packaging/archive.py": {
|
|
"filePath": "native/packaging/archive.py",
|
|
"contentHash": "502ab746a811f323b737dbb3cbc2743f88384d0a8fbd0b62f203522d87df168b",
|
|
"functions": [
|
|
{
|
|
"name": "destination",
|
|
"params": [
|
|
"root",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "extract",
|
|
"params": [
|
|
"source",
|
|
"root"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 65
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "pathlib",
|
|
"specifiers": [
|
|
"pathlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "shutil",
|
|
"specifiers": [
|
|
"shutil"
|
|
]
|
|
},
|
|
{
|
|
"source": "stat",
|
|
"specifiers": [
|
|
"stat"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys",
|
|
"specifiers": [
|
|
"sys"
|
|
]
|
|
},
|
|
{
|
|
"source": "tarfile",
|
|
"specifiers": [
|
|
"tarfile"
|
|
]
|
|
},
|
|
{
|
|
"source": "zipfile",
|
|
"specifiers": [
|
|
"zipfile"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"destination",
|
|
"extract"
|
|
],
|
|
"totalLines": 107,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/packaging/build_codec_probe.py": {
|
|
"filePath": "native/packaging/build_codec_probe.py",
|
|
"contentHash": "85c7b229526de8652ca8a6930c52961810df632522ccbf414e0cbb46b8dc4909",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "pathlib",
|
|
"specifiers": [
|
|
"pathlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "shlex",
|
|
"specifiers": [
|
|
"shlex"
|
|
]
|
|
},
|
|
{
|
|
"source": "subprocess",
|
|
"specifiers": [
|
|
"subprocess"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys",
|
|
"specifiers": [
|
|
"sys"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 49,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/packaging/macos-info.plist": {
|
|
"filePath": "native/packaging/macos-info.plist",
|
|
"contentHash": "6c4a81cea9717504135e70f3daa15e0dd228e2705c0d1d75cacc24581532e8e9",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 17,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/packaging/teamspeach.desktop": {
|
|
"filePath": "native/packaging/teamspeach.desktop",
|
|
"contentHash": "4cc7fadd1f582e2d8a2880d6fc8c0b10833f004da5fde34dddc692cdc1aad652",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 9,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/packaging/windows.nsi": {
|
|
"filePath": "native/packaging/windows.nsi",
|
|
"contentHash": "8b7d9b3b724d36034c404b7ff5e76d03ecc214f18a75c96b079589971692e585",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 77,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/patches/webrtc/0001-required-software-codecs.patch": {
|
|
"filePath": "native/patches/webrtc/0001-required-software-codecs.patch",
|
|
"contentHash": "ae6f3392f10bb021260a045fc8a06f7920efa68957f5870bdad9b7db0b74d20f",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 39,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/patches/webrtc/0002-elf-page-size.patch": {
|
|
"filePath": "native/patches/webrtc/0002-elf-page-size.patch",
|
|
"contentHash": "fdc2f96c98dd703170afddcf3adb96441cbf9452d05a23ee5e1164eecb4675f6",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 15,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/patches/webrtc/0003-android-gradle-checksum.patch": {
|
|
"filePath": "native/patches/webrtc/0003-android-gradle-checksum.patch",
|
|
"contentHash": "62a761709c82222658eab765e84c5faa31b9fc5755d45616332fb33f299dbddb",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 8,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/app/connections.rs": {
|
|
"filePath": "native/src/app/connections.rs",
|
|
"contentHash": "df7f224525da13c7c8380a20d57087599892ca58930dacf0365d034036b7729b",
|
|
"functions": [
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "is_connected",
|
|
"owner": "ConnectionSnapshot",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "ConnectionsSnapshot",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<&ConnectionSnapshot>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "any_active",
|
|
"owner": "ConnectionsSnapshot",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "on_event",
|
|
"owner": null,
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "revoke",
|
|
"owner": "CaptureState",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"data_dir",
|
|
"sink"
|
|
],
|
|
"returnType": "Result<Self, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "subscribe",
|
|
"owner": "ConnectionManager",
|
|
"params": [],
|
|
"returnType": "watch::Receiver<Arc<ConnectionsSnapshot>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "ConnectionManager",
|
|
"params": [],
|
|
"returnType": "Arc<ConnectionsSnapshot>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "call",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"make"
|
|
],
|
|
"returnType": "Result<T, ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "ConnectionManager",
|
|
"params": [],
|
|
"returnType": "Result<SessionKey, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<SessionKey, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "view",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "select_channel",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key",
|
|
"channel"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "configure_workflow",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "set_input",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key",
|
|
"config"
|
|
],
|
|
"returnType": "Result<Option<CapturePermit>, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "push_audio",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key",
|
|
"frame"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "invalidate_audio",
|
|
"owner": "ConnectionManager",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "request_in_channel",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key",
|
|
"channel",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value,ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "restart",
|
|
"owner": "ConnectionManager",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<SessionKey, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "ConnectionManager",
|
|
"params": [],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "Entry",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "owns",
|
|
"owner": "Entry",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reset_session",
|
|
"owner": "Entry",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"data_dir",
|
|
"sink",
|
|
"capture",
|
|
"snapshots"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "index",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<usize, ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "checked",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<usize, ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "lifecycle",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<usize, ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "Actor",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "failure",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"key",
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "revoke",
|
|
"owner": "Actor",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "spawn_worker",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"id",
|
|
"slot",
|
|
"incarnation"
|
|
],
|
|
"returnType": "Result<Worker, ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "Actor",
|
|
"params": [],
|
|
"returnType": "Result<SessionKey, ConnectionError>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "choose_input",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "restore_input",
|
|
"owner": "Actor",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"index",
|
|
"key",
|
|
"command",
|
|
"kind"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "configure_input",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"index",
|
|
"key",
|
|
"reply"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "operation",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 104
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"entry",
|
|
"purpose"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"index",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 63
|
|
},
|
|
{
|
|
"name": "complete",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"index",
|
|
"completion"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 61
|
|
},
|
|
{
|
|
"name": "internal",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "stopped",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"stopped",
|
|
"shutting_down"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "Actor",
|
|
"params": [
|
|
"operations",
|
|
"cancelled"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "parse_state",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<ConnectionState>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "channel_exists",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "pump_events",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"incarnation",
|
|
"events",
|
|
"completions",
|
|
"output",
|
|
"core",
|
|
"playback_key",
|
|
"sink"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "stop_worker",
|
|
"owner": "",
|
|
"params": [
|
|
"worker"
|
|
],
|
|
"returnType": "Result<(), ConnectionError>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SessionKey",
|
|
"methods": [],
|
|
"properties": [
|
|
"connection_id",
|
|
"session",
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ConnectionError",
|
|
"methods": [
|
|
"from"
|
|
],
|
|
"properties": [
|
|
"Closed",
|
|
"LastConnection",
|
|
"TooManyConnections",
|
|
"IdExhausted",
|
|
"TargetChanged",
|
|
"NotConnected",
|
|
"Stopped",
|
|
"Busy",
|
|
"Core",
|
|
"Worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "ConnectionState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Disconnected",
|
|
"Connecting",
|
|
"Connected",
|
|
"Disconnecting"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CoreStatus",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ready",
|
|
"Stopping",
|
|
"Stopped",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioState",
|
|
"methods": [],
|
|
"properties": [
|
|
"input_muted",
|
|
"output_muted",
|
|
"transmitting"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "InputConfiguration",
|
|
"methods": [],
|
|
"properties": [
|
|
"vad",
|
|
"input_muted",
|
|
"output_muted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "WorkflowSettings",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"auto_enable_microphone",
|
|
"auto_reactivate_previous"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "CapturePermit",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"capture_epoch"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ConnectionSnapshot",
|
|
"methods": [
|
|
"is_connected"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"slot",
|
|
"status",
|
|
"state",
|
|
"address",
|
|
"identity_id",
|
|
"reason",
|
|
"server",
|
|
"audio",
|
|
"talking",
|
|
"selected_channel_id",
|
|
"input_enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "ConnectionsSnapshot",
|
|
"methods": [
|
|
"get",
|
|
"any_active"
|
|
],
|
|
"properties": [
|
|
"connections",
|
|
"viewed_id",
|
|
"input_id",
|
|
"capture"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ConnectionEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Control",
|
|
"Playback",
|
|
"InputReset",
|
|
"Failure"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ConnectionSink",
|
|
"methods": [
|
|
"on_event"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "AudioRoute",
|
|
"methods": [],
|
|
"properties": [
|
|
"permit",
|
|
"core"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureState",
|
|
"methods": [
|
|
"revoke"
|
|
],
|
|
"properties": [
|
|
"revision",
|
|
"route"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConnectionManager",
|
|
"methods": [
|
|
"start",
|
|
"subscribe",
|
|
"snapshot",
|
|
"call",
|
|
"create",
|
|
"key",
|
|
"view",
|
|
"select_channel",
|
|
"configure_workflow",
|
|
"set_input",
|
|
"push_audio",
|
|
"invalidate_audio",
|
|
"request",
|
|
"request_in_channel",
|
|
"close",
|
|
"restart",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"snapshots",
|
|
"capture",
|
|
"cancel",
|
|
"finished",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Operation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Create",
|
|
"Key",
|
|
"View",
|
|
"SelectChannel",
|
|
"Workflow",
|
|
"SetInput",
|
|
"Request",
|
|
"Close",
|
|
"Restart"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Worker",
|
|
"methods": [],
|
|
"properties": [
|
|
"core",
|
|
"pump",
|
|
"completions",
|
|
"requests",
|
|
"playback_key",
|
|
"channel_request"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Entry",
|
|
"methods": [
|
|
"key",
|
|
"owns",
|
|
"reset_session"
|
|
],
|
|
"properties": [
|
|
"snapshot",
|
|
"incarnation",
|
|
"session_clock",
|
|
"worker",
|
|
"last_own_channel",
|
|
"config",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Guard",
|
|
"methods": [],
|
|
"properties": [
|
|
"Strict",
|
|
"Connect",
|
|
"Disconnect"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Completion",
|
|
"methods": [],
|
|
"properties": [
|
|
"request",
|
|
"key",
|
|
"result",
|
|
"kind"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "CompletionKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Request",
|
|
"Input",
|
|
"ReleaseWhisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Internal",
|
|
"methods": [],
|
|
"properties": [
|
|
"Control",
|
|
"Complete",
|
|
"Ended"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "StopPurpose",
|
|
"methods": [],
|
|
"properties": [
|
|
"Close",
|
|
"Restart",
|
|
"Shutdown",
|
|
"Failed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Stopped",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"slot",
|
|
"purpose",
|
|
"result"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Actor",
|
|
"methods": [
|
|
"new",
|
|
"index",
|
|
"checked",
|
|
"lifecycle",
|
|
"publish",
|
|
"failure",
|
|
"revoke",
|
|
"spawn_worker",
|
|
"create",
|
|
"choose_input",
|
|
"restore_input",
|
|
"dispatch",
|
|
"configure_input",
|
|
"operation",
|
|
"stop",
|
|
"control",
|
|
"complete",
|
|
"internal",
|
|
"stopped",
|
|
"run"
|
|
],
|
|
"properties": [
|
|
"data_dir",
|
|
"sink",
|
|
"capture",
|
|
"snapshots",
|
|
"events_tx",
|
|
"events",
|
|
"entries",
|
|
"stopping_slots",
|
|
"stopping",
|
|
"next_id",
|
|
"next_request",
|
|
"viewed",
|
|
"input",
|
|
"history",
|
|
"workflow"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"audio::CapturedFrame",
|
|
"output::PlaybackFrame",
|
|
"vad::GateMode",
|
|
"whisper::WhisperCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"SessionKey",
|
|
"ConnectionError",
|
|
"ConnectionState",
|
|
"CoreStatus",
|
|
"AudioState",
|
|
"InputConfiguration",
|
|
"WorkflowSettings",
|
|
"CapturePermit",
|
|
"ConnectionSnapshot",
|
|
"is_connected",
|
|
"ConnectionsSnapshot",
|
|
"get",
|
|
"any_active",
|
|
"ConnectionEvent",
|
|
"ConnectionSink",
|
|
"ConnectionManager",
|
|
"start",
|
|
"subscribe",
|
|
"snapshot",
|
|
"create",
|
|
"key",
|
|
"view",
|
|
"select_channel",
|
|
"configure_workflow",
|
|
"set_input",
|
|
"push_audio",
|
|
"invalidate_audio",
|
|
"request",
|
|
"request_in_channel",
|
|
"close",
|
|
"restart",
|
|
"shutdown"
|
|
],
|
|
"totalLines": 936,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/connections_tests.rs": {
|
|
"filePath": "native/src/app/connections_tests.rs",
|
|
"contentHash": "c3ee81ed0f2d359c5a5b47a4a7ef959c98957810731f271ef413c740f61bcba1",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "actor",
|
|
"owner": "",
|
|
"params": [
|
|
"profile"
|
|
],
|
|
"returnType": "(Actor, watch::Receiver<Arc<ConnectionsSnapshot>>, Arc<AtomicU64>)",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "",
|
|
"params": [
|
|
"actor"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "",
|
|
"params": [
|
|
"channel",
|
|
"channels"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "channel_selection_stays_independent_until_own_channel_changes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "state_transitions_revoke_sessions_and_ignore_foreign_generation_and_worker",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "real_reply_arriving_after_session_boundary_is_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "previous_microphone_owner_is_restored_only_when_enabled",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "directory_slot_is_reserved_until_the_old_core_is_joined",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Profile",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 155,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/media_binding.rs": {
|
|
"filePath": "native/src/app/media_binding.rs",
|
|
"contentHash": "e31a6262fa61b995ca14839cd80b83626f134b2b6eaf0090a08961bffc69411f",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "AudioSessionBinding",
|
|
"params": [
|
|
"errors"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "AudioSessionBinding",
|
|
"params": [
|
|
"audio"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "report",
|
|
"owner": "AudioSessionBinding",
|
|
"params": [
|
|
"result"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_event",
|
|
"owner": null,
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 49
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PlaybackRoute",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"epoch",
|
|
"enabled",
|
|
"transmitting"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioSessionBinding",
|
|
"methods": [
|
|
"new",
|
|
"bind",
|
|
"report",
|
|
"on_event"
|
|
],
|
|
"properties": [
|
|
"audio",
|
|
"routes",
|
|
"errors"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionEvent",
|
|
"ConnectionSink",
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media::audio::engine",
|
|
"specifiers": [
|
|
"AudioHandle",
|
|
"AudioWeakHandle",
|
|
"AudioCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AudioSessionBinding",
|
|
"new",
|
|
"bind"
|
|
],
|
|
"totalLines": 69,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/bootstrap.rs": {
|
|
"filePath": "native/src/app/runtime/bootstrap.rs",
|
|
"contentHash": "31593ae4f7204304b1202649eb375f656057b6f5f97e2df6f925d1a5dbd462fa",
|
|
"functions": [
|
|
{
|
|
"name": "inspect",
|
|
"owner": "Bootstrap",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "Result<(Self,Option<ProfileServices>)>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "Bootstrap",
|
|
"params": [
|
|
"state",
|
|
"profile"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "Bootstrap",
|
|
"params": [
|
|
"config",
|
|
"target",
|
|
"operation",
|
|
"values",
|
|
"confirmed"
|
|
],
|
|
"returnType": "Result<Option<ProfileServices>>",
|
|
"exported": true,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "confirmation_form",
|
|
"owner": "Bootstrap",
|
|
"params": [
|
|
"target",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<Form>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "config_policy",
|
|
"owner": "",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "crate::platform::resources::ActionPolicy",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"owner": "",
|
|
"params": [
|
|
"request",
|
|
"config"
|
|
],
|
|
"returnType": "Result<Option<crate::platform::resources::Selection>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Bootstrap",
|
|
"methods": [
|
|
"inspect",
|
|
"present",
|
|
"handle",
|
|
"confirmation_form"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"candidates",
|
|
"selected",
|
|
"interrupted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppConfig"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::model",
|
|
"specifiers": [
|
|
"AppState",
|
|
"BootstrapState"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Bootstrap",
|
|
"inspect",
|
|
"present",
|
|
"handle",
|
|
"confirmation_form"
|
|
],
|
|
"totalLines": 76,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions.rs",
|
|
"contentHash": "1067bb29deea26783116b8c61489f01f3b6ea6956bbcd55a466f68e5dbb47820",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Conversation",
|
|
"params": [
|
|
"target",
|
|
"title"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "draft_key",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "same",
|
|
"owner": "",
|
|
"params": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "find",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"target"
|
|
],
|
|
"returnType": "Result<&'a mut Conversation>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"target"
|
|
],
|
|
"returnType": "Result<ConversationTarget>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate_server",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sendable",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "shell_target",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "trim",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"protected"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ensure",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"target",
|
|
"title"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "select",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"action"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"receipt"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "file_target",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"file"
|
|
],
|
|
"returnType": "Result<Target>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "open_link",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"url"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<Option<WorkflowResult>>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<ChatPresentation>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Conversation",
|
|
"methods": [
|
|
"new"
|
|
],
|
|
"properties": [
|
|
"target",
|
|
"title",
|
|
"messages",
|
|
"draft",
|
|
"draft_revision",
|
|
"unread",
|
|
"open",
|
|
"loaded",
|
|
"loading",
|
|
"before",
|
|
"older",
|
|
"error",
|
|
"status",
|
|
"load_revision",
|
|
"query",
|
|
"sending"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "AssetJob",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"cancel"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatWorkflows",
|
|
"methods": [],
|
|
"properties": [
|
|
"conversations",
|
|
"selected",
|
|
"restored",
|
|
"snapshots",
|
|
"assets",
|
|
"diagrams",
|
|
"math_cache",
|
|
"math_cache_bytes",
|
|
"preview_jobs",
|
|
"preview_cache",
|
|
"help_assets",
|
|
"visible_target"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command",
|
|
"TextTarget"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"file_actions"
|
|
]
|
|
},
|
|
{
|
|
"source": "control",
|
|
"specifiers": [
|
|
"on_control"
|
|
]
|
|
},
|
|
{
|
|
"source": "history",
|
|
"specifiers": [
|
|
"format_timestamp"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ChatWorkflows",
|
|
"validate",
|
|
"validate_server",
|
|
"handle",
|
|
"file_target",
|
|
"open",
|
|
"on_closed",
|
|
"shutdown",
|
|
"project"
|
|
],
|
|
"totalLines": 198,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions/assets.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions/assets.rs",
|
|
"contentHash": "e6ee9506b68e006764dd6587aebe77d2d2153cda482531cb4519e6a83f241a0d",
|
|
"functions": [
|
|
{
|
|
"name": "cancel_target",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"target"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "math_key",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "image_size",
|
|
"owner": "",
|
|
"params": [
|
|
"image"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"request"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "render",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"kind",
|
|
"generation",
|
|
"target",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<ChatImage>",
|
|
"exported": false,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "start_help",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"id",
|
|
"generation",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"LazyLock"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"cancel_target",
|
|
"start",
|
|
"start_help"
|
|
],
|
|
"totalLines": 81,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions/control.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions/control.rs",
|
|
"contentHash": "f049882e2b3bd4242327e57346c2d7b7a2dbc9c586f042fc6cd0bf57ffe8e3f4",
|
|
"functions": [
|
|
{
|
|
"name": "on_control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "moderation",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"event"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "event_target",
|
|
"owner": "",
|
|
"params": [
|
|
"server",
|
|
"key",
|
|
"target"
|
|
],
|
|
"returnType": "Result<ConversationTarget>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "limit_utf16",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"limit"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat_history",
|
|
"specifiers": [
|
|
"HistoryKind",
|
|
"ChatRecord",
|
|
"MessageType"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"on_control"
|
|
],
|
|
"totalLines": 106,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions/history.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions/history.rs",
|
|
"contentHash": "4796bd89c9d3d8176955ad3ba781adb4b87156858faaf129486de416bb93bdc5",
|
|
"functions": [
|
|
{
|
|
"name": "format_timestamp",
|
|
"owner": "",
|
|
"params": [
|
|
"time_ms",
|
|
"use_24h"
|
|
],
|
|
"returnType": "(String,String)",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "message",
|
|
"owner": "",
|
|
"params": [
|
|
"index",
|
|
"record",
|
|
"prefs"
|
|
],
|
|
"returnType": "ChatMessage",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "page",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"scope",
|
|
"before",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<(HistoryPage,Vec<ChatMessage>)>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "load",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"before",
|
|
"limit",
|
|
"query"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "append",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"record",
|
|
"label"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat_history",
|
|
"specifiers": [
|
|
"ChatRecord",
|
|
"HistoryPage"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"format_timestamp",
|
|
"message",
|
|
"load",
|
|
"append"
|
|
],
|
|
"totalLines": 71,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions/notifications.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions/notifications.rs",
|
|
"contentHash": "1f6b8e11ec26f65d51ce82ca651058ffa21da91252717d53cf642967c4761d7a",
|
|
"functions": [
|
|
{
|
|
"name": "conversation",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "NotificationConversation",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "visible",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "history",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"older"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sent",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::notifications",
|
|
"specifiers": [
|
|
"NotificationEffect"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"visible",
|
|
"history",
|
|
"unread",
|
|
"sent"
|
|
],
|
|
"totalLines": 23,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/chat_actions/preview.rs": {
|
|
"filePath": "native/src/app/runtime/chat_actions/preview.rs",
|
|
"contentHash": "0b482c53e69b0963f5fe921aca63c71c3cf7ccedec3d8ca350ff68d9f54ebea9",
|
|
"functions": [
|
|
{
|
|
"name": "job_key",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "draft",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"text",
|
|
"revision"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "pump",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"key",
|
|
"ui_generation"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::chat::editor",
|
|
"specifiers": [
|
|
"ParsedDraft"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"LazyLock"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"draft"
|
|
],
|
|
"totalLines": 34,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/context.rs": {
|
|
"filePath": "native/src/app/runtime/context.rs",
|
|
"contentHash": "cc811d2baf567f8960ff3cf0113bd015882c96ddcb31a78d8106d0731766bf05",
|
|
"functions": [
|
|
{
|
|
"name": "directory_key",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"channel"
|
|
],
|
|
"returnType": "DirectoryKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<MutexGuard<'_,ProfileServices>>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mutate",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "effect",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"effect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "require_key",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key",
|
|
"connected"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "require_target",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "require_idle",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "prompt",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"form"
|
|
],
|
|
"returnType": "Result<Values>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "confirm",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"target",
|
|
"title",
|
|
"description",
|
|
"exact"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Result<Option<Selection>>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "clipboard_write",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "open_approved",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"link"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "connection_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "closed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "KeyCapture",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ptt",
|
|
"Binding"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "KeyState",
|
|
"methods": [],
|
|
"properties": [
|
|
"runtime",
|
|
"recorder",
|
|
"capture",
|
|
"chord",
|
|
"global"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "TransmissionState",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"revision",
|
|
"ptt_holders",
|
|
"release_at",
|
|
"deactivated",
|
|
"whisper",
|
|
"configured"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "RuntimeServices",
|
|
"methods": [
|
|
"profile",
|
|
"mutate",
|
|
"changed",
|
|
"effect",
|
|
"require_key",
|
|
"require_target",
|
|
"require_idle",
|
|
"request",
|
|
"prompt",
|
|
"confirm",
|
|
"pick",
|
|
"clipboard_write",
|
|
"open_approved"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"profile",
|
|
"connected",
|
|
"audio",
|
|
"streams",
|
|
"themes",
|
|
"phishing",
|
|
"badges",
|
|
"notifications",
|
|
"updates",
|
|
"keys",
|
|
"settings_drafts",
|
|
"settings_status",
|
|
"improvements",
|
|
"progress",
|
|
"directory_passwords",
|
|
"download_directory",
|
|
"recording_directory",
|
|
"file_workflows",
|
|
"chat_workflows",
|
|
"stream_workflows",
|
|
"local_workflows",
|
|
"mobile_call",
|
|
"apple_call",
|
|
"android_notifications",
|
|
"audio_input_active",
|
|
"audio_defaults",
|
|
"audio_output_active",
|
|
"applied_audio_selections",
|
|
"audio_configuration",
|
|
"microphone_test_resume",
|
|
"transmission",
|
|
"notification_clock",
|
|
"system_scheme",
|
|
"installed",
|
|
"microphone_granted",
|
|
"output_granted",
|
|
"policy",
|
|
"network_enabled",
|
|
"version",
|
|
"runtime",
|
|
"revision",
|
|
"events",
|
|
"cancelled",
|
|
"dialogs",
|
|
"prompt_counter"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 50
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"time::Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"oneshot",
|
|
"watch",
|
|
"Semaphore"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super::events",
|
|
"specifiers": [
|
|
"ServiceEvent",
|
|
"Prompt",
|
|
"UiEffect"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"directory_key",
|
|
"KeyCapture",
|
|
"KeyState",
|
|
"TransmissionState",
|
|
"RuntimeServices",
|
|
"profile",
|
|
"mutate",
|
|
"changed",
|
|
"effect",
|
|
"require_key",
|
|
"require_target",
|
|
"require_idle",
|
|
"request",
|
|
"prompt",
|
|
"confirm",
|
|
"pick",
|
|
"clipboard_write",
|
|
"open_approved",
|
|
"connection_error",
|
|
"changed",
|
|
"closed"
|
|
],
|
|
"totalLines": 187,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/context_helpers.rs": {
|
|
"filePath": "native/src/app/runtime/context_helpers.rs",
|
|
"contentHash": "d68b22fdb3cfec71e4488f921ea42e7b91debca29c8a6f3baf30c86338386591",
|
|
"functions": [
|
|
{
|
|
"name": "lock",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<MutexGuard<'_,T>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "worker",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unavailable",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "color_scheme",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "ColorScheme",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sync_notifications",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notification_now_ms",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "current_ui_generation",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<u64>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "require_ui_generation",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commit_document",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self",
|
|
"document",
|
|
"source",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "restore_directory",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open_local_directory",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open_directory",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"grant"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open_document",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"document",
|
|
"reveal"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "open_logs",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "request_microphone_permission",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "capture_configuration",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key",
|
|
"prefs"
|
|
],
|
|
"returnType": "Result<InputConfiguration>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "refresh_transmission_gate",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key",
|
|
"prefs"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "refresh_capture",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "apply_key_events",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "tick_transmission",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "refresh_os_settings",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "set_autostart",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "apply_update_effect",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"effect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "relaunch",
|
|
"owner": "RuntimeServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "show_whisper_overlay",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CommitCancellation",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"color_scheme",
|
|
"sync_notifications",
|
|
"notification_now_ms",
|
|
"current_ui_generation",
|
|
"require_ui_generation",
|
|
"commit_document",
|
|
"restore_directory",
|
|
"open_local_directory",
|
|
"open_directory",
|
|
"open_document",
|
|
"open_logs",
|
|
"request_microphone_permission",
|
|
"capture_configuration",
|
|
"refresh_transmission_gate",
|
|
"refresh_capture",
|
|
"apply_key_events",
|
|
"tick_transmission",
|
|
"refresh_os_settings",
|
|
"set_autostart",
|
|
"apply_update_effect",
|
|
"relaunch",
|
|
"show_whisper_overlay"
|
|
],
|
|
"totalLines": 211,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/controller.rs": {
|
|
"filePath": "native/src/app/runtime/controller.rs",
|
|
"contentHash": "cc78752ec3b38c8a838ff972d9e73204dc4fcc02d8851fefea5437b1d5597a1c",
|
|
"functions": [
|
|
{
|
|
"name": "release_immediate",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "release_voice",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "set_microphone_owner",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "set_audio_flags",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"input",
|
|
"output"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "operation_for_refresh",
|
|
"owner": "",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"returnType": "Operation",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<crate::ui::i18n::Catalog>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "server_form",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<Option<Form>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ptt",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"held"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "key_events",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"events"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 43
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"atomic::Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "crate::media::audio",
|
|
"specifiers": [
|
|
"engine::AudioCommand",
|
|
"devices::StartPermission"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"release_immediate",
|
|
"release_voice",
|
|
"set_microphone_owner",
|
|
"set_audio_flags",
|
|
"dispatch",
|
|
"catalog",
|
|
"ptt",
|
|
"key_events"
|
|
],
|
|
"totalLines": 120,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/desktop_actions.rs": {
|
|
"filePath": "native/src/app/runtime/desktop_actions.rs",
|
|
"contentHash": "595680f3b46810d0255939f9dd667e455766d1231ff9c34b367865d9a7c6f423",
|
|
"functions": [
|
|
{
|
|
"name": "sync",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"state"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "sync",
|
|
"owner": "",
|
|
"params": [
|
|
"_",
|
|
"_"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "save_placement",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"x",
|
|
"y",
|
|
"width",
|
|
"height",
|
|
"maximized"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "DesktopState",
|
|
"methods": [],
|
|
"properties": [
|
|
"applied",
|
|
"next_check"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::context",
|
|
"specifiers": [
|
|
"RuntimeServices"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"DesktopState",
|
|
"sync",
|
|
"sync",
|
|
"save_placement"
|
|
],
|
|
"totalLines": 26,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/distribution.rs": {
|
|
"filePath": "native/src/app/runtime/distribution.rs",
|
|
"contentHash": "76e11499d3fbff1a5d059e4d7144f33c3b81256a219704debd5e5fcab2c8706f",
|
|
"functions": [
|
|
{
|
|
"name": "detect",
|
|
"owner": "",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "Result<(Installation,bool)>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppConfig"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"detect"
|
|
],
|
|
"totalLines": 19,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/event_handlers.rs": {
|
|
"filePath": "native/src/app/runtime/event_handlers.rs",
|
|
"contentHash": "52aa2add02f9ff994e5a692aaae079103105fb770f4568e5cc149ec025a35d0b",
|
|
"functions": [
|
|
{
|
|
"name": "control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"event"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "audio_event",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"state",
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "platform",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"runtime",
|
|
"state",
|
|
"event"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "target_triple",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 81,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/events.rs": {
|
|
"filePath": "native/src/app/runtime/events.rs",
|
|
"contentHash": "c4db5aad0a8be5535b300fab4f3a85d8d7ef1e37eb8e3b4e8316d4089f5bb917",
|
|
"functions": [
|
|
{
|
|
"name": "effect",
|
|
"owner": "WorkflowResult",
|
|
"params": [
|
|
"effect"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Prompt",
|
|
"methods": [],
|
|
"properties": [
|
|
"form",
|
|
"answer"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UiEffect",
|
|
"methods": [],
|
|
"properties": [
|
|
"Detail",
|
|
"Navigate",
|
|
"BookmarkFolder",
|
|
"FormComplete",
|
|
"StreamFullscreen",
|
|
"StreamPopout",
|
|
"StreamClose",
|
|
"Platform",
|
|
"Quit",
|
|
"SettingsNavigate",
|
|
"SettingsAcknowledge",
|
|
"SettingsComplete",
|
|
"Markup",
|
|
"HelpAsset",
|
|
"Asset",
|
|
"ChatPreview",
|
|
"ChatAcknowledged",
|
|
"Attachment",
|
|
"Status",
|
|
"Error",
|
|
"Theme",
|
|
"KeyEvents",
|
|
"Notification",
|
|
"Update",
|
|
"Relaunch"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "ServiceEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Changed",
|
|
"Prompt",
|
|
"Effect",
|
|
"Workflow"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WorkflowResult",
|
|
"methods": [
|
|
"effect"
|
|
],
|
|
"properties": [
|
|
"effects"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"oneshot"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Prompt",
|
|
"UiEffect",
|
|
"ServiceEvent",
|
|
"WorkflowResult",
|
|
"effect"
|
|
],
|
|
"totalLines": 39,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions.rs",
|
|
"contentHash": "1e1b6063c9bb15e2b445111336775b12804a572517d1374a1209f8585e56b1c8",
|
|
"functions": [
|
|
{
|
|
"name": "session_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "SessionId",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "transfer_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "TransferId",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clear_views",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<Option<WorkflowResult>>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<SessionKey>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Catalog>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "files",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Arc<tokio::sync::Mutex<FilesService>>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "detail",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"detail"
|
|
],
|
|
"returnType": "WorkflowResult",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"operation",
|
|
"c"
|
|
],
|
|
"returnType": "Action",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "entry",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"title",
|
|
"subtitle",
|
|
"actions"
|
|
],
|
|
"returnType": "Entry",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "field",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"label",
|
|
"kind",
|
|
"value"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "form_values",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<Values>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "confirm",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"description",
|
|
"exact"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "WorkflowResult",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "size",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FileWorkflows",
|
|
"methods": [],
|
|
"properties": [
|
|
"icons",
|
|
"imports",
|
|
"transfers",
|
|
"recordings",
|
|
"transfer_view",
|
|
"recording_view"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"path::PathBuf",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "chat",
|
|
"specifiers": [
|
|
"upload_chat_attachment",
|
|
"load_chat_image"
|
|
]
|
|
},
|
|
{
|
|
"source": "io",
|
|
"specifiers": [
|
|
"choose_download_directory",
|
|
"choose_recording_directory",
|
|
"copy_download_directory"
|
|
]
|
|
},
|
|
{
|
|
"source": "transfers",
|
|
"specifiers": [
|
|
"on_transfer"
|
|
]
|
|
},
|
|
{
|
|
"source": "recording",
|
|
"specifiers": [
|
|
"on_recording",
|
|
"poll_recording"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"FileWorkflows",
|
|
"clear_views",
|
|
"on_closed",
|
|
"handle"
|
|
],
|
|
"totalLines": 79,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/assets.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/assets.rs",
|
|
"contentHash": "9987a809fbfaf08869fa2b0c9b09de1105b36c84e247a7975dfccc30fc25768e",
|
|
"functions": [
|
|
{
|
|
"name": "listing",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "authorization",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Arc<IconListing>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choose_assignment",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Target>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "assign",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "avatar",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"menu"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::server_icons",
|
|
"specifiers": [
|
|
"OperationCancellation",
|
|
"check_icon_bytes"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle"
|
|
],
|
|
"totalLines": 63,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/browser.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/browser.rs",
|
|
"contentHash": "a8571ba45eb8cc47a09687e62702d97e2811d82cf69fe5d635cd91ecb45fd191",
|
|
"functions": [
|
|
{
|
|
"name": "location",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<(u64,String,bool)>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "folder",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parent",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cached",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"channel"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "password",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"channel",
|
|
"force"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "supported",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"reply"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "listing",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"channel",
|
|
"path",
|
|
"credential"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "browse",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "file_link",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"metadata"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"file_transfer::Request"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::secrets",
|
|
"specifiers": [
|
|
"SecretString",
|
|
"ExplicitSecretAccess"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"location",
|
|
"folder",
|
|
"password",
|
|
"supported",
|
|
"listing",
|
|
"browse",
|
|
"handle",
|
|
"file_link"
|
|
],
|
|
"totalLines": 87,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/chat.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/chat.rs",
|
|
"contentHash": "3409cf37324bec07faf20306fbe81c7c38cb2c02ad691c194fc7a81d6a11e5fb",
|
|
"functions": [
|
|
{
|
|
"name": "upload_chat_attachment",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"conversation",
|
|
"_draft_revision"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "load_chat_image",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"conversation",
|
|
"file"
|
|
],
|
|
"returnType": "Result<ChatImage>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::chat",
|
|
"specifiers": [
|
|
"ConversationTarget",
|
|
"ChatTarget",
|
|
"ChatImage",
|
|
"policy::ServerFile"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::files",
|
|
"specifiers": [
|
|
"UploadOptions",
|
|
"Overwrite"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"file_transfer::Request"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"upload_chat_attachment",
|
|
"load_chat_image"
|
|
],
|
|
"totalLines": 73,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/io.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/io.rs",
|
|
"contentHash": "806c2dcc6fa2f4d43e8cf31dbd449ab0529585cd44195330f05d9bb5f9452d84",
|
|
"functions": [
|
|
{
|
|
"name": "choose_download_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "choose_recording_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "copy_download_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "approved_recording_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DirectoryGrant>>>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "approved_download_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DirectoryGrant>>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "pick_document",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"mime"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DocumentGrant>>>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "save_document",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"name",
|
|
"mime"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DocumentGrant>>>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "child_document",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"directory",
|
|
"name"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DocumentGrant>>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "picked_file",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"grant"
|
|
],
|
|
"returnType": "Result<PickedFile>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "session_file",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"grant"
|
|
],
|
|
"returnType": "Result<SessionFileGrant>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"grant",
|
|
"max"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "staging",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"purpose"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "save_bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"grant",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::resources",
|
|
"specifiers": [
|
|
"GrantedFile",
|
|
"PickRequest",
|
|
"Selection"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::files",
|
|
"specifiers": [
|
|
"PickedFile",
|
|
"SessionFileGrant"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"choose_download_directory",
|
|
"choose_recording_directory",
|
|
"copy_download_directory",
|
|
"approved_recording_directory",
|
|
"approved_download_directory",
|
|
"pick_document",
|
|
"save_document",
|
|
"child_document",
|
|
"picked_file",
|
|
"session_file",
|
|
"read_bounded",
|
|
"staging",
|
|
"save_bytes"
|
|
],
|
|
"totalLines": 99,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/recording.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/recording.rs",
|
|
"contentHash": "58d932c79e9321c6b6038fcde49ae46b80f69401ab5c1acc5d6074d8a0ae58fe",
|
|
"functions": [
|
|
{
|
|
"name": "recording_owner",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Arc<tokio::sync::Mutex<crate::services::recording::RecordingService>>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "closed",
|
|
"owner": "Recording",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "update_info",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "on_recording",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "export",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "poll_recording",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "projection",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Recording",
|
|
"methods": [
|
|
"closed"
|
|
],
|
|
"properties": [
|
|
"target",
|
|
"staging",
|
|
"destination",
|
|
"output",
|
|
"info",
|
|
"finalized",
|
|
"exporting",
|
|
"exported",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::recording",
|
|
"specifiers": [
|
|
"Mode",
|
|
"RecCommand"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::files::DirectoryGrant as CoreDirectory",
|
|
"specifiers": [
|
|
"crate::services::files::DirectoryGrant as CoreDirectory"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Recording",
|
|
"closed",
|
|
"on_recording",
|
|
"poll_recording",
|
|
"handle"
|
|
],
|
|
"totalLines": 107,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/snapshots.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/snapshots.rs",
|
|
"contentHash": "06956629d2fca66f864455e3e71649dffce74993c19013462536e29adf3de2e8",
|
|
"functions": [
|
|
{
|
|
"name": "commit",
|
|
"owner": null,
|
|
"params": [
|
|
"self",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "preflight",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "progress",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"c"
|
|
],
|
|
"returnType": "impl Fn(SnapshotProgress)+Sync",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "running",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "report",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"result",
|
|
"c"
|
|
],
|
|
"returnType": "WorkflowResult",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "choose",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "export",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StagedSnapshot",
|
|
"methods": [
|
|
"commit"
|
|
],
|
|
"properties": [
|
|
"path"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"admin::AdminCommand"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle"
|
|
],
|
|
"totalLines": 82,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/transfers.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/transfers.rs",
|
|
"contentHash": "af418575ac42c3c567c579fc6875166762b3022589486f5a8b6814132d2b83be",
|
|
"functions": [
|
|
{
|
|
"name": "terminal",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "merge",
|
|
"owner": "",
|
|
"params": [
|
|
"transfer",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "new_transfer",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"value"
|
|
],
|
|
"returnType": "Transfer",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<u32>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "transfer_target",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"id"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_transfer",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "remember",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"ack",
|
|
"target",
|
|
"staging",
|
|
"document",
|
|
"upload"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Option<Arc<dyn DirectoryGrant>>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "download",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "upload",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"refresh"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "projection",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"_values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Transfer",
|
|
"methods": [],
|
|
"properties": [
|
|
"value",
|
|
"target",
|
|
"staging",
|
|
"document",
|
|
"upload",
|
|
"publishing",
|
|
"published",
|
|
"core_done",
|
|
"export_failed",
|
|
"updated",
|
|
"speed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"file_transfer::Request"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Instant"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Transfer",
|
|
"terminal",
|
|
"on_transfer",
|
|
"remember",
|
|
"handle"
|
|
],
|
|
"totalLines": 150,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/file_actions/transfers_tests.rs": {
|
|
"filePath": "native/src/app/runtime/file_actions/transfers_tests.rs",
|
|
"contentHash": "ac583b17780b184a31b570581ea378587a45eaf7327db945a9f56e0fc7839973",
|
|
"functions": [
|
|
{
|
|
"name": "target",
|
|
"owner": "",
|
|
"params": [
|
|
"session",
|
|
"generation"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "early_completion_is_not_reverted_by_queued_acknowledgement",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "local_export_failure_does_not_retry_from_replayed_core_event",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "failed_network_download_never_becomes_publishable",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "credentials_and_transfer_capabilities_cannot_cross_recycled_sessions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 35,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/local_actions.rs": {
|
|
"filePath": "native/src/app/runtime/local_actions.rs",
|
|
"contentHash": "3fde4d35c85adb044e3187bc06de5ec22a51e82e590f43b389e289dd93918222",
|
|
"functions": [
|
|
{
|
|
"name": "prepare_action",
|
|
"owner": "",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<Option<WorkflowResult>>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<SessionKey>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Catalog>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "decimal",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<f64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "optional",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "identity",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "form",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<Form>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "field",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"label",
|
|
"kind",
|
|
"value"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "",
|
|
"params": [
|
|
"form",
|
|
"id",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choices",
|
|
"owner": "",
|
|
"params": [
|
|
"form",
|
|
"id",
|
|
"options",
|
|
"selected"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "identities",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"form",
|
|
"selected"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "input",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"form",
|
|
"values"
|
|
],
|
|
"returnType": "Result<Values>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "saved_bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check_bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bookmark_id",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "item_id",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "done",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "WorkflowResult",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "whispers",
|
|
"specifiers": [
|
|
"LocalWorkflows",
|
|
"on_control",
|
|
"on_closed",
|
|
"last_whisperer"
|
|
]
|
|
},
|
|
{
|
|
"source": "connections::bookmark as connect_bookmark",
|
|
"specifiers": [
|
|
"connections::bookmark as connect_bookmark"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"prepare_action",
|
|
"handle"
|
|
],
|
|
"totalLines": 67,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/local_actions/bookmarks.rs": {
|
|
"filePath": "native/src/app/runtime/local_actions/bookmarks.rs",
|
|
"contentHash": "a283d159ed67320a84b1d1874eebe74e663c3b6786a851f5983a0e5d2450c7f6",
|
|
"functions": [
|
|
{
|
|
"name": "commit",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "folder",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "purpose",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<SecretPurpose>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "binding",
|
|
"owner": "",
|
|
"params": [
|
|
"bookmark",
|
|
"purpose"
|
|
],
|
|
"returnType": "Result<SecretBinding>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "edit",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "move_item",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "save_current",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "same_address",
|
|
"owner": "",
|
|
"params": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "duplicate",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "password",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"profile_import::load_migration"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle"
|
|
],
|
|
"totalLines": 97,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/local_actions/connections.rs": {
|
|
"filePath": "native/src/app/runtime/local_actions/connections.rs",
|
|
"contentHash": "3e8ec111176a6e7ac1568f9cfad985b3c3f8d323b653823b2f9681f2d75177f2",
|
|
"functions": [
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "password_value",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_connect",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"args"
|
|
],
|
|
"returnType": "Result<ConnectArgs>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "connect",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"args"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "connect_with_audio",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"args",
|
|
"input_override",
|
|
"bookmark"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"startup"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "password",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"key",
|
|
"original",
|
|
"purpose"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "join",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "channel_password",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::ConnectionState"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command",
|
|
"ConnectArgs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle",
|
|
"validate_connect",
|
|
"connect",
|
|
"bookmark"
|
|
],
|
|
"totalLines": 144,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/local_actions/people.rs": {
|
|
"filePath": "native/src/app/runtime/local_actions/people.rs",
|
|
"contentHash": "0a54b97389f4a852c43cbba7da188e57aa5a5af9f5965f3554924627d038c9a1",
|
|
"functions": [
|
|
{
|
|
"name": "uid",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "contact_exists",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"uid"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "volume",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"contacts",
|
|
"client_volumes::ClientVolumes"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle"
|
|
],
|
|
"totalLines": 67,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/local_actions/whispers.rs": {
|
|
"filePath": "native/src/app/runtime/local_actions/whispers.rs",
|
|
"contentHash": "f922316bffd0364a41dadc3b926341c1e9bfaac9f57d6dd886fdc373d2697df4",
|
|
"functions": [
|
|
{
|
|
"name": "session_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "SessionId",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "now",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "peer",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot",
|
|
"id"
|
|
],
|
|
"returnType": "Option<&Value>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot",
|
|
"received"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "record",
|
|
"owner": "",
|
|
"params": [
|
|
"history",
|
|
"client",
|
|
"at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "on_control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "last_whisperer",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Option<(u16,String)>>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"_values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "history",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"key"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Received",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"uid",
|
|
"nickname",
|
|
"at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "History",
|
|
"methods": [],
|
|
"properties": [
|
|
"entries",
|
|
"pending"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LocalWorkflows",
|
|
"methods": [],
|
|
"properties": [
|
|
"history"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::whisper",
|
|
"specifiers": [
|
|
"WhisperEntry"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::settings",
|
|
"specifiers": [
|
|
"Category",
|
|
"Navigation"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"LocalWorkflows",
|
|
"on_control",
|
|
"on_closed",
|
|
"last_whisperer",
|
|
"handle"
|
|
],
|
|
"totalLines": 71,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/mobile_calls.rs": {
|
|
"filePath": "native/src/app/runtime/mobile_calls.rs",
|
|
"contentHash": "1bd55a90cd71ce0dd06fd23a47cf470a524306f149675c09888e2eb6d516faae",
|
|
"functions": [
|
|
{
|
|
"name": "ensure_mobile_call",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"self",
|
|
"key",
|
|
"microphone"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "end_mobile_call",
|
|
"owner": "RuntimeServices",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::context",
|
|
"specifiers": [
|
|
"RuntimeServices"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::context",
|
|
"specifiers": [
|
|
"closed"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey",
|
|
"services::Result"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ensure_mobile_call",
|
|
"end_mobile_call"
|
|
],
|
|
"totalLines": 35,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/mod.rs": {
|
|
"filePath": "native/src/app/runtime/mod.rs",
|
|
"contentHash": "fd4b34e7000d39b202e5d2a0093e286d146dbe3972b76bf56dc1c7a9c6e7cd15",
|
|
"functions": [
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "std::result::Result<Arc<AppRuntime>,AppError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "failed",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "construct",
|
|
"owner": "",
|
|
"params": [
|
|
"config",
|
|
"profile",
|
|
"runtime",
|
|
"events",
|
|
"cancelled",
|
|
"controls"
|
|
],
|
|
"returnType": "Result<Owner>",
|
|
"exported": false,
|
|
"lineCount": 47
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"config",
|
|
"runtime",
|
|
"commands",
|
|
"cancelled",
|
|
"snapshots",
|
|
"effects"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 112
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"sender",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "send_effect",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"sender",
|
|
"effect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "wait_failed",
|
|
"owner": "",
|
|
"params": [
|
|
"commands",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "config_policy",
|
|
"owner": "",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "crate::platform::resources::ActionPolicy",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "spawn_workflow",
|
|
"owner": "",
|
|
"params": [
|
|
"jobs",
|
|
"sender",
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "spawn_query",
|
|
"owner": "",
|
|
"params": [
|
|
"jobs",
|
|
"sender",
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"options"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "isolated_settings",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"action"
|
|
],
|
|
"returnType": "Result<events::WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "RuntimeCommand",
|
|
"methods": [],
|
|
"properties": [
|
|
"Shell",
|
|
"Settings",
|
|
"Chat",
|
|
"Platform",
|
|
"Detached",
|
|
"WhisperStop",
|
|
"Pip"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Owner",
|
|
"methods": [],
|
|
"properties": [
|
|
"ctx",
|
|
"audio",
|
|
"audio_events",
|
|
"settings",
|
|
"settings_worker",
|
|
"_platform"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"watch",
|
|
"Semaphore"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppConfig",
|
|
"AppError",
|
|
"AppRuntime"
|
|
]
|
|
},
|
|
{
|
|
"source": "context",
|
|
"specifiers": [
|
|
"RuntimeServices"
|
|
]
|
|
},
|
|
{
|
|
"source": "events",
|
|
"specifiers": [
|
|
"UiEffect",
|
|
"ServiceEvent",
|
|
"Prompt"
|
|
]
|
|
},
|
|
{
|
|
"source": "model",
|
|
"specifiers": [
|
|
"AppState",
|
|
"BootstrapState"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"RuntimeCommand",
|
|
"start"
|
|
],
|
|
"totalLines": 218,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/model.rs": {
|
|
"filePath": "native/src/app/runtime/model.rs",
|
|
"contentHash": "7159938394c8aabde4102e8b618bd0c12409d881cf956243c422474f8760dfac",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "AppState",
|
|
"params": [
|
|
"effect"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "project",
|
|
"owner": "AppState",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "crate::services::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "channel_children",
|
|
"owner": "AppState",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"server",
|
|
"parent",
|
|
"depth",
|
|
"visited",
|
|
"c"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "entry",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"id",
|
|
"depth"
|
|
],
|
|
"returnType": "Entry",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "actions",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"operations",
|
|
"catalog"
|
|
],
|
|
"returnType": "Vec<Action>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "BootstrapState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Loading",
|
|
"ChooseProfile",
|
|
"RecoverImport",
|
|
"Username",
|
|
"Ready",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Snapshot",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"revision",
|
|
"bootstrap",
|
|
"root",
|
|
"catalog",
|
|
"ready",
|
|
"audio_input_active",
|
|
"audio_output_active",
|
|
"audio_input_starts",
|
|
"audio_output_starts",
|
|
"connections",
|
|
"tabs",
|
|
"tree",
|
|
"bookmarks",
|
|
"contacts",
|
|
"detail",
|
|
"actions",
|
|
"voice",
|
|
"profile_form",
|
|
"dialog",
|
|
"last_error",
|
|
"settings_completed",
|
|
"status",
|
|
"error",
|
|
"loading",
|
|
"destination",
|
|
"settings",
|
|
"settings_view",
|
|
"chat",
|
|
"streams",
|
|
"frames",
|
|
"theme",
|
|
"theme_revision",
|
|
"theme_fonts",
|
|
"insets",
|
|
"text_scale",
|
|
"reduced_motion",
|
|
"high_contrast"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "AppState",
|
|
"methods": [
|
|
"default",
|
|
"apply",
|
|
"project",
|
|
"channel_children"
|
|
],
|
|
"properties": [
|
|
"snapshot",
|
|
"selected",
|
|
"expanded",
|
|
"folder",
|
|
"detail_target",
|
|
"detail_operation",
|
|
"query"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashSet",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"context::RuntimeServices",
|
|
"events::UiEffect"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"BootstrapState",
|
|
"Snapshot",
|
|
"AppState",
|
|
"apply",
|
|
"project",
|
|
"actions"
|
|
],
|
|
"totalLines": 80,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/notification_actions.rs": {
|
|
"filePath": "native/src/app/runtime/notification_actions.rs",
|
|
"contentHash": "96b9e4c151f7dc0211636483d7fffe8332492fa12ad1784de6b62689a09a533c",
|
|
"functions": [
|
|
{
|
|
"name": "on_control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "execute",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"effect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey",
|
|
"platform::lifecycle::NotificationAction"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"context::RuntimeServices",
|
|
"events::UiEffect"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"on_control",
|
|
"execute"
|
|
],
|
|
"totalLines": 41,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/server_views.rs": {
|
|
"filePath": "native/src/app/runtime/server_views.rs",
|
|
"contentHash": "6eea01702998d3943a06ac07fab6cfc8db4fcfd45ad953588f693f37feab3855",
|
|
"functions": [
|
|
{
|
|
"name": "query",
|
|
"owner": "",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"reply"
|
|
],
|
|
"returnType": "Result<Detail>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "server_target",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Target>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"model"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"query",
|
|
"project"
|
|
],
|
|
"totalLines": 28,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions.rs",
|
|
"contentHash": "28ea78697aee268736ba9342ca926937ac73fe548c907db37c8b6388d56f6e4e",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "lock",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<MutexGuard<'_,T>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<f64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "done",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "patch",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "confirm",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"title",
|
|
"description"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"action"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "open_link",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"url"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "update_error",
|
|
"owner": "",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"action"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"MutexGuard",
|
|
"atomic::Ordering"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"context::RuntimeServices"
|
|
]
|
|
},
|
|
{
|
|
"source": "audio",
|
|
"specifiers": [
|
|
"sync_audio"
|
|
]
|
|
},
|
|
{
|
|
"source": "audio",
|
|
"specifiers": [
|
|
"sync_notifications",
|
|
"capture_settings"
|
|
]
|
|
},
|
|
{
|
|
"source": "keys",
|
|
"specifiers": [
|
|
"sync_keys",
|
|
"physical_key",
|
|
"focus_lost"
|
|
]
|
|
},
|
|
{
|
|
"source": "projection",
|
|
"specifiers": [
|
|
"project"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle",
|
|
"open_link"
|
|
],
|
|
"totalLines": 101,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/audio.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/audio.rs",
|
|
"contentHash": "0373d4a23d584face692e6f70c4a9b7c2fe5fc1b9a3e881f8a31b75f96c1b379",
|
|
"functions": [
|
|
{
|
|
"name": "dsp_key",
|
|
"owner": "",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"returnType": "Result<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selection_key",
|
|
"owner": "",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "DeviceSelection",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"kind"
|
|
],
|
|
"returnType": "&'a Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture_settings",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs"
|
|
],
|
|
"returnType": "CaptureSettings",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "gate",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs"
|
|
],
|
|
"returnType": "Option<teamspeach_core::vad::GateMode>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sync_audio",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "sync_audio_to",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"active"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "sync_notifications",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "update_notifications",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 39
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::WorkflowSettings"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_denoise",
|
|
"specifiers": [
|
|
"CaptureSettings"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"dsp_key",
|
|
"profile",
|
|
"capture_settings",
|
|
"gate",
|
|
"sync_audio",
|
|
"sync_notifications",
|
|
"update_notifications",
|
|
"invoke"
|
|
],
|
|
"totalLines": 105,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/identities.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/identities.rs",
|
|
"contentHash": "aa6e6866ea9aaf3febcc23ab13407e7e89954346c21aaf5cf6d7e014230ab9f7",
|
|
"functions": [
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 51
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"sync::atomic::AtomicBool",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::resources",
|
|
"specifiers": [
|
|
"GrantedFile",
|
|
"PickRequest",
|
|
"Selection"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"invoke"
|
|
],
|
|
"totalLines": 57,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/keys.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/keys.rs",
|
|
"contentHash": "2cf8617ad3362efcfe0867fa468cac7e8cf4eb96a37ac74d4ee11bfd9a67a88d",
|
|
"functions": [
|
|
{
|
|
"name": "sync_keys",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "edit_binding",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"profile",
|
|
"id",
|
|
"edit"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "begin",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"capture"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "save_chord",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"chord"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "physical_key",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"code",
|
|
"mask",
|
|
"down",
|
|
"repeat",
|
|
"text_input"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "focus_lost",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::keybinds",
|
|
"specifiers": [
|
|
"Binding",
|
|
"Chord",
|
|
"RecordResult"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::context",
|
|
"specifiers": [
|
|
"KeyCapture"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"sync_keys",
|
|
"edit_binding",
|
|
"physical_key",
|
|
"focus_lost",
|
|
"invoke"
|
|
],
|
|
"totalLines": 86,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/preferences.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/preferences.rs",
|
|
"contentHash": "3276422104848ab436dc0e21dfd93e74c6aa04e314f2723123d4578ca877c6fd",
|
|
"functions": [
|
|
{
|
|
"name": "edit",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"field",
|
|
"value"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 46
|
|
},
|
|
{
|
|
"name": "choice_number",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "Result<u8>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notification",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"id",
|
|
"state"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "edit_whisper",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"id",
|
|
"edit"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "server",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Arc<Value>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "whisper",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "valid_entry",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot",
|
|
"entry"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"file_settings::FileSettingsPatch"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"edit",
|
|
"whisper",
|
|
"valid_entry"
|
|
],
|
|
"totalLines": 85,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/projection.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/projection.rs",
|
|
"contentHash": "80b20076b4b5b39cd9067fb9c176220b60140cbf9b7e992c9ad9ca4dd3ce9ef1",
|
|
"functions": [
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"view"
|
|
],
|
|
"returnType": "Result<SettingsSnapshot>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "groups",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Vec<GroupView>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update_actions",
|
|
"owner": "",
|
|
"params": [
|
|
"phase",
|
|
"mode",
|
|
"available"
|
|
],
|
|
"returnType": "Vec<UpdateAction>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "reload_about",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"about::AboutService",
|
|
"keybinds"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"project",
|
|
"reload_about"
|
|
],
|
|
"totalLines": 60,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/themes.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/themes.rs",
|
|
"contentHash": "18ebc1999c4df64812f996b2873dfa2600130778ce709658bf2cb1faa7d30cf4",
|
|
"functions": [
|
|
{
|
|
"name": "scheme",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"prefs"
|
|
],
|
|
"returnType": "ColorScheme",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"listing",
|
|
"resolved",
|
|
"preview"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "reload",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"force"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"op"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "archive_path",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "install",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"document"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 39
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Read",
|
|
"collections::HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"reload",
|
|
"invoke"
|
|
],
|
|
"totalLines": 91,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_actions/whisper_preview.rs": {
|
|
"filePath": "native/src/app/runtime/settings_actions/whisper_preview.rs",
|
|
"contentHash": "d394112f2a1d22b525bea42b04e2b0062e564f5be46ed5691e50c11c6b7767c4",
|
|
"functions": [
|
|
{
|
|
"name": "channel",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot",
|
|
"path"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "targets",
|
|
"owner": "",
|
|
"params": [
|
|
"list",
|
|
"snapshot"
|
|
],
|
|
"returnType": "Vec<(String,String)>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::whisper",
|
|
"specifiers": [
|
|
"WhisperList"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"channel",
|
|
"targets"
|
|
],
|
|
"totalLines": 40,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/settings_queue.rs": {
|
|
"filePath": "native/src/app/runtime/settings_queue.rs",
|
|
"contentHash": "2056dbd5366d017f8f25933e7280288795b97d67cb07dad78d4fff979cc83dd1",
|
|
"functions": [
|
|
{
|
|
"name": "pending",
|
|
"owner": "",
|
|
"params": [
|
|
"action",
|
|
"snapshot"
|
|
],
|
|
"returnType": "Vec<String>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "(mpsc::Sender<Request>,tokio::task::JoinHandle<()>)",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "enqueue",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"sender",
|
|
"request"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Request",
|
|
"methods": [],
|
|
"properties": [
|
|
"action",
|
|
"pending",
|
|
"serial"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::runtime::model::Snapshot"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"context::RuntimeServices"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Request",
|
|
"pending",
|
|
"start",
|
|
"enqueue"
|
|
],
|
|
"totalLines": 36,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions.rs",
|
|
"contentHash": "996fd849830725907131cd113fd4e1e2125f6e06906310a6ab685813659aa984",
|
|
"functions": [
|
|
{
|
|
"name": "on_control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "session_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "SessionId",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "viewer_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "ViewerId",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tile_id",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<Option<WorkflowResult>>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Vec<StreamPresentation>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "admission",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "publisher",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Arc<StreamPublisher>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "viewer",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Arc<StreamViewer>>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "require_owner",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stream_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<SessionKey>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Catalog>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"operation",
|
|
"catalog"
|
|
],
|
|
"returnType": "Action",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "blocking",
|
|
"owner": "",
|
|
"params": [
|
|
"work"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StreamWorkflows",
|
|
"methods": [],
|
|
"properties": [
|
|
"viewers",
|
|
"joins",
|
|
"video",
|
|
"captures",
|
|
"pip"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "StreamPresentation",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"target",
|
|
"title",
|
|
"status",
|
|
"volume",
|
|
"actions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "video",
|
|
"specifiers": [
|
|
"frame_sources"
|
|
]
|
|
},
|
|
{
|
|
"source": "pip",
|
|
"specifiers": [
|
|
"start_pip",
|
|
"on_pip"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"on_control",
|
|
"tile_id",
|
|
"StreamWorkflows",
|
|
"StreamPresentation",
|
|
"handle",
|
|
"project",
|
|
"on_closed",
|
|
"shutdown"
|
|
],
|
|
"totalLines": 135,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions/capture.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions/capture.rs",
|
|
"contentHash": "3180129b1946eecb56cdab43efb702130a6414266c208861607d2372902d1363",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "CaptureFlow",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "CaptureFlow",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "preview_frames",
|
|
"owner": "CaptureFlow",
|
|
"params": [],
|
|
"returnType": "Option<Arc<VideoFrames>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "presentation",
|
|
"owner": "CaptureFlow",
|
|
"params": [],
|
|
"returnType": "Option<(Target,CaptureStatus)>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "require_current",
|
|
"owner": "CaptureFlow",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "choose",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "descriptor",
|
|
"owner": "",
|
|
"params": [
|
|
"flow",
|
|
"values",
|
|
"selected"
|
|
],
|
|
"returnType": "Result<CaptureDescriptor>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"descriptor",
|
|
"values",
|
|
"prior"
|
|
],
|
|
"returnType": "Result<Prepared>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"values",
|
|
"id",
|
|
"default",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "Result<u32>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "configuration_form",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"flow",
|
|
"selected"
|
|
],
|
|
"returnType": "Result<Values>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "audio_sources",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(Vec<OptionValue>,String)>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "catalog_fn",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Catalog>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_control",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Prepared",
|
|
"methods": [],
|
|
"properties": [
|
|
"descriptor",
|
|
"options",
|
|
"publisher",
|
|
"values"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureFlow",
|
|
"methods": [
|
|
"new",
|
|
"close",
|
|
"preview_frames",
|
|
"presentation",
|
|
"require_current",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"target",
|
|
"channel",
|
|
"active",
|
|
"coordinator",
|
|
"catalog",
|
|
"selection",
|
|
"preview",
|
|
"frames"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media::stream",
|
|
"specifiers": [
|
|
"frames::VideoFrames"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CaptureFlow",
|
|
"close",
|
|
"preview_frames",
|
|
"presentation",
|
|
"handle",
|
|
"on_control"
|
|
],
|
|
"totalLines": 193,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions/pip.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions/pip.rs",
|
|
"contentHash": "ce2c877b83ff82445e8d1e6233cc8b842b05b2f7eaa7107c94038c6338282203",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "PipSession",
|
|
"params": [],
|
|
"returnType": "&SessionKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stream_id",
|
|
"owner": "PipSession",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start_pip",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"rect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 63
|
|
},
|
|
{
|
|
"name": "on_pip",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"stream_id",
|
|
"active",
|
|
"playing"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PipSession",
|
|
"methods": [
|
|
"key",
|
|
"stream_id",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"stream_id",
|
|
"_lease",
|
|
"_surface",
|
|
"cancel",
|
|
"resume_gain"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"PipSession",
|
|
"key",
|
|
"stream_id",
|
|
"start_pip",
|
|
"on_pip"
|
|
],
|
|
"totalLines": 101,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions/projection.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions/projection.rs",
|
|
"contentHash": "abd50d65d10e08be726618f9340005d20906c13bf04b349f59757a31becf9fb3",
|
|
"functions": [
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<Vec<StreamPresentation>>",
|
|
"exported": true,
|
|
"lineCount": 67
|
|
},
|
|
{
|
|
"name": "admission_target",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"snapshot",
|
|
"viewer"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "admission_entries",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"snapshot",
|
|
"catalog"
|
|
],
|
|
"returnType": "Vec<Entry>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media::stream::publisher",
|
|
"specifiers": [
|
|
"PublisherSnapshot"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"project",
|
|
"admission_entries"
|
|
],
|
|
"totalLines": 79,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions/video.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions/video.rs",
|
|
"contentHash": "1c352f45ddbb3a516b403422b6ce87e1aa5bb686744ce45508029c62918a89d0",
|
|
"functions": [
|
|
{
|
|
"name": "insert",
|
|
"owner": "FrameRegistry",
|
|
"params": [
|
|
"id",
|
|
"frames"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "frames",
|
|
"owner": "FrameRegistry",
|
|
"params": [],
|
|
"returnType": "Vec<Arc<VideoFrames>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "FrameRegistry",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "factory",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"frames"
|
|
],
|
|
"returnType": "Result<Arc<NativePeerFactory>>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "frame_sources",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Vec<(String,Arc<VideoFrames>)>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FrameRegistry",
|
|
"methods": [
|
|
"insert",
|
|
"frames",
|
|
"close",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"closed",
|
|
"tracks"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media::stream",
|
|
"specifiers": [
|
|
"frames::VideoFrames"
|
|
]
|
|
},
|
|
{
|
|
"source": "libwebrtc::peer_connection_factory",
|
|
"specifiers": [
|
|
"IceServer",
|
|
"RtcConfiguration"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"FrameRegistry",
|
|
"frames",
|
|
"close",
|
|
"factory",
|
|
"frame_sources"
|
|
],
|
|
"totalLines": 48,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/stream_actions/viewing.rs": {
|
|
"filePath": "native/src/app/runtime/stream_actions/viewing.rs",
|
|
"contentHash": "ff04436997992164051ec4a79ba44985418ffb055cfc91fd12fdb2ef14673f93",
|
|
"functions": [
|
|
{
|
|
"name": "handle",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"operation",
|
|
"values"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": true,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "join",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target",
|
|
"rejoin"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Target>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "offers",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key"
|
|
],
|
|
"returnType": "Result<Vec<ChannelOffer>>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "announced_owner",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<u16>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "close_frames",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "stats",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"target"
|
|
],
|
|
"returnType": "Result<WorkflowResult>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"handle",
|
|
"offers"
|
|
],
|
|
"totalLines": 146,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/runtime/theme_actions.rs": {
|
|
"filePath": "native/src/app/runtime/theme_actions.rs",
|
|
"contentHash": "d057726394bb2da890d4a2812103d229fc1063e743588f33b665f9666056b13c",
|
|
"functions": [
|
|
{
|
|
"name": "scheme",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx"
|
|
],
|
|
"returnType": "Result<crate::services::themes::ColorScheme>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "load_fonts",
|
|
"owner": "",
|
|
"params": [
|
|
"ctx",
|
|
"theme"
|
|
],
|
|
"returnType": "Result<Vec<ThemeFont>>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ThemeFont",
|
|
"methods": [],
|
|
"properties": [
|
|
"family",
|
|
"alias",
|
|
"bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::context",
|
|
"specifiers": [
|
|
"RuntimeServices"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ThemeFont",
|
|
"scheme",
|
|
"load_fonts"
|
|
],
|
|
"totalLines": 24,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/server_actions.rs": {
|
|
"filePath": "native/src/app/server_actions.rs",
|
|
"contentHash": "a8875a96013adfd0e3b45773e77b929198bc1189ebcbb62112f20b749f660a9c",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "core",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"k"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "optional",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"k"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"k"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"k"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"k"
|
|
],
|
|
"returnType": "Result<i32>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "client",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<menu::Target>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "server",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<&str>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "group",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Result<(GroupKind,u64)>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "client_action",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"action"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "extra",
|
|
"owner": "",
|
|
"params": [
|
|
"x"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "scoped",
|
|
"owner": "",
|
|
"params": [
|
|
"t"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "permission_id",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"v"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "permission",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"v"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"server_scope"
|
|
],
|
|
"returnType": "Result<Map<String,Value>>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"v"
|
|
],
|
|
"returnType": "Result<Option<Command>>",
|
|
"exported": true,
|
|
"lineCount": 74
|
|
},
|
|
{
|
|
"name": "file",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"v"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "channel_icon",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"v",
|
|
"created_channel_id"
|
|
],
|
|
"returnType": "Result<Option<Command>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::shell",
|
|
"specifiers": [
|
|
"self",
|
|
"Entity",
|
|
"FieldValue",
|
|
"Operation",
|
|
"Target",
|
|
"Values"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"menu"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Map",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "context",
|
|
"specifiers": [
|
|
"client_context",
|
|
"group_entries",
|
|
"group_entries_with_context"
|
|
]
|
|
},
|
|
{
|
|
"source": "projection",
|
|
"specifiers": [
|
|
"project",
|
|
"project_with_context",
|
|
"query",
|
|
"QueryOptions",
|
|
"Refresh",
|
|
"refresh"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"prepare",
|
|
"channel_icon"
|
|
],
|
|
"totalLines": 169,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/server_actions/context.rs": {
|
|
"filePath": "native/src/app/server_actions/context.rs",
|
|
"contentHash": "45c4b18f2e5cf2f98e0528a9da8da60ee3c191e3dd61d7a9869163f3a9bfad8f",
|
|
"functions": [
|
|
{
|
|
"name": "client_context",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"reply",
|
|
"c"
|
|
],
|
|
"returnType": "Result<Vec<Action>>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "fill_client_choices",
|
|
"owner": "",
|
|
"params": [
|
|
"form",
|
|
"reply"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "group_entries",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"kind",
|
|
"reply",
|
|
"c"
|
|
],
|
|
"returnType": "Result<Vec<Entry>>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "group_entries_with_context",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"kind",
|
|
"reply",
|
|
"context",
|
|
"c"
|
|
],
|
|
"returnType": "Result<Vec<Entry>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui",
|
|
"specifiers": [
|
|
"i18n::Catalog"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"client_context",
|
|
"group_entries",
|
|
"group_entries_with_context"
|
|
],
|
|
"totalLines": 61,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/server_actions/projection.rs": {
|
|
"filePath": "native/src/app/server_actions/projection.rs",
|
|
"contentHash": "299e527bc3db999db0131632e59d15bb8620728597446a79f3411fa7a55f8f2b",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "query",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"options"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "refresh",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op"
|
|
],
|
|
"returnType": "Result<Refresh>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "string",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"key"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "entry",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"entity",
|
|
"key",
|
|
"title",
|
|
"subtitle"
|
|
],
|
|
"returnType": "Entry",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"c",
|
|
"context",
|
|
"permission"
|
|
],
|
|
"returnType": "Action",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "row_fields",
|
|
"owner": "",
|
|
"params": [
|
|
"d",
|
|
"row",
|
|
"fields",
|
|
"c"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "project",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"reply",
|
|
"c"
|
|
],
|
|
"returnType": "Result<Detail>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "project_with_context",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"op",
|
|
"reply",
|
|
"c",
|
|
"context",
|
|
"options"
|
|
],
|
|
"returnType": "Result<Detail>",
|
|
"exported": true,
|
|
"lineCount": 48
|
|
},
|
|
{
|
|
"name": "files",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"reply",
|
|
"c"
|
|
],
|
|
"returnType": "Result<Detail>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Refresh",
|
|
"methods": [],
|
|
"properties": [
|
|
"None",
|
|
"Snapshot",
|
|
"Query",
|
|
"FileDirectory"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "QueryOptions",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"offset",
|
|
"page_size",
|
|
"search",
|
|
"search_uid",
|
|
"log_lines",
|
|
"log_begin_pos",
|
|
"log_reverse",
|
|
"log_instance"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui",
|
|
"specifiers": [
|
|
"i18n::Catalog"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Refresh",
|
|
"QueryOptions",
|
|
"query",
|
|
"refresh",
|
|
"project",
|
|
"project_with_context"
|
|
],
|
|
"totalLines": 116,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/app/server_actions/tests.rs": {
|
|
"filePath": "native/src/app/server_actions/tests.rs",
|
|
"contentHash": "65190aab8f3fa38c9e6f563657f97136d80602982d1fabb5b74b0488ff70622a",
|
|
"functions": [
|
|
{
|
|
"name": "target",
|
|
"owner": "",
|
|
"params": [
|
|
"entity"
|
|
],
|
|
"returnType": "Target",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "values",
|
|
"owner": "",
|
|
"params": [
|
|
"items"
|
|
],
|
|
"returnType": "Values",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "recycled_client_number_cannot_discard_uid",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "channel_client_permissions_never_become_channel_permissions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "selected_permission_cannot_change_during_confirmation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "malformed_property_and_character_limit_reach_core_validation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "file_listing_cannot_escape_captured_directory",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "database_query_enforces_wire_limits_without_truncating_search",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "move_never_uses_an_editable_destination_or_uncaptured_channel",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "permission_reply_cannot_cross_channel_scope",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 68,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/bin/teamspeach-update-helper.rs": {
|
|
"filePath": "native/src/bin/teamspeach-update-helper.rs",
|
|
"contentHash": "b1a2f6d9bb2d1e7a3e715e5f8120f647407531febdc07a4a641678308188a5fe",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 11,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/lib.rs": {
|
|
"filePath": "native/src/lib.rs",
|
|
"contentHash": "0cf3224b98f46ab04731c9eb2624b94df454a74f81c220aa878333adb0d5aa8c",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "isolated",
|
|
"owner": "AppConfig",
|
|
"params": [
|
|
"profile"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "Result<Arc<Self>,AppError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "Arc<app::runtime::model::Snapshot>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "subscribe",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "watch::Receiver<Arc<app::runtime::model::Snapshot>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "build_description",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "policy",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "platform::resources::ActionPolicy",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "next_ui_generation",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ui_generation",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "current_ui_generation",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_ui_current",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release_ui",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "release_held",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release_screen",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "dispatch_shell",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"returnType": "services::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "dispatch_settings",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"returnType": "services::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dispatch_chat",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"returnType": "services::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "platform_event",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "enqueue",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "services::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notify_ui",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_waker",
|
|
"owner": "AppRuntime",
|
|
"params": [
|
|
"wake"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drain_effects",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "Vec<app::runtime::events::UiEffect>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "desktop_handle",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "Option<platform::desktop::DesktopHandle>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "AppRuntime",
|
|
"params": [],
|
|
"returnType": "services::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attach_ui",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime"
|
|
],
|
|
"returnType": "Result<(),AppError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attach_ui_with_generation",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<(),AppError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "android_main",
|
|
"owner": "",
|
|
"params": [
|
|
"app"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "AppConfig",
|
|
"methods": [
|
|
"default",
|
|
"isolated"
|
|
],
|
|
"properties": [
|
|
"build_version",
|
|
"profile_dir",
|
|
"mobile_container",
|
|
"allow_os_actions",
|
|
"network_enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "AppError",
|
|
"methods": [],
|
|
"properties": [
|
|
"Platform",
|
|
"Service",
|
|
"Io",
|
|
"Smoke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "AppRuntime",
|
|
"methods": [
|
|
"start",
|
|
"snapshot",
|
|
"subscribe",
|
|
"build_description",
|
|
"policy",
|
|
"next_ui_generation",
|
|
"ui_generation",
|
|
"current_ui_generation",
|
|
"is_ui_current",
|
|
"release_ui",
|
|
"release_held",
|
|
"release_screen",
|
|
"dispatch_shell",
|
|
"dispatch_settings",
|
|
"dispatch_chat",
|
|
"platform_event",
|
|
"enqueue",
|
|
"notify_ui",
|
|
"set_waker",
|
|
"drain_effects",
|
|
"desktop_handle",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"config",
|
|
"commands",
|
|
"cancel",
|
|
"snapshots",
|
|
"effects",
|
|
"services",
|
|
"wake",
|
|
"pending_wake",
|
|
"active_ui",
|
|
"finished",
|
|
"worker",
|
|
"desktop"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"watch"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AppConfig",
|
|
"isolated",
|
|
"AppError",
|
|
"AppRuntime",
|
|
"start",
|
|
"snapshot",
|
|
"subscribe",
|
|
"build_description",
|
|
"policy",
|
|
"next_ui_generation",
|
|
"ui_generation",
|
|
"current_ui_generation",
|
|
"is_ui_current",
|
|
"release_ui",
|
|
"release_held",
|
|
"dispatch_shell",
|
|
"dispatch_settings",
|
|
"dispatch_chat",
|
|
"platform_event",
|
|
"notify_ui",
|
|
"set_waker",
|
|
"drain_effects",
|
|
"desktop_handle",
|
|
"shutdown",
|
|
"attach_ui",
|
|
"attach_ui_with_generation",
|
|
"android_main"
|
|
],
|
|
"totalLines": 126,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/main.rs": {
|
|
"filePath": "native/src/main.rs",
|
|
"contentHash": "b34fff9fa07b35c7d074bb75d7d87d61a81cb3bbe27192bfbcb8b7f88c97c193",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "std::process::ExitCode",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(), teamspeach_native::AppError>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 31,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio.rs": {
|
|
"filePath": "native/src/media/audio.rs",
|
|
"contentHash": "706772403a78446d87ac71f0af9c6cf9e815315df2d240f7902e489b63a3f204",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 12,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/capture.rs": {
|
|
"filePath": "native/src/media/audio/capture.rs",
|
|
"contentHash": "077ace8b58abefc2372bd65e6db07a73514f182b0b0d05aa0df085ec4ff4aa1d",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"permit",
|
|
"settings"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "invalidate",
|
|
"owner": "CapturePipeline",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "permit",
|
|
"owner": "CapturePipeline",
|
|
"params": [],
|
|
"returnType": "Option<&CapturePermit>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_typing",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "typing_hit",
|
|
"owner": "CapturePipeline",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_whisper",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"epoch",
|
|
"acknowledged"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "render_reference",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"pcm",
|
|
"delay_ms"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "reset_private",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "process_private",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"samples"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "CapturePipeline",
|
|
"params": [
|
|
"samples",
|
|
"captured_at",
|
|
"epoch",
|
|
"now"
|
|
],
|
|
"returnType": "Result<Option<CapturedFrame>>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CapturePipeline",
|
|
"methods": [
|
|
"new",
|
|
"bind",
|
|
"invalidate",
|
|
"permit",
|
|
"set_typing",
|
|
"typing_hit",
|
|
"set_whisper",
|
|
"render_reference",
|
|
"reset_private",
|
|
"process_private",
|
|
"process"
|
|
],
|
|
"properties": [
|
|
"dsp",
|
|
"settings",
|
|
"permit",
|
|
"whisper",
|
|
"pcm",
|
|
"position",
|
|
"first_capture",
|
|
"typing",
|
|
"typing_gain",
|
|
"typing_remaining",
|
|
"suppressed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::audio",
|
|
"specifiers": [
|
|
"CapturedFrame"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_denoise",
|
|
"specifiers": [
|
|
"CaptureProcessor",
|
|
"CaptureSettings"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::CapturePermit"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CapturePipeline",
|
|
"new",
|
|
"bind",
|
|
"invalidate",
|
|
"permit",
|
|
"set_typing",
|
|
"typing_hit",
|
|
"set_whisper",
|
|
"render_reference",
|
|
"reset_private",
|
|
"process_private",
|
|
"process"
|
|
],
|
|
"totalLines": 81,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/capture_tests.rs": {
|
|
"filePath": "native/src/media/audio/capture_tests.rs",
|
|
"contentHash": "13e50be19e95b6abd1dc609813ef49830290c7513a87ba55b3b7d05f66d4dec1",
|
|
"functions": [
|
|
{
|
|
"name": "bypass",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "CaptureSettings",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "permit",
|
|
"owner": "",
|
|
"params": [
|
|
"epoch",
|
|
"generation"
|
|
],
|
|
"returnType": "CapturePermit",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "bound",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "CapturePipeline",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "assert_tags",
|
|
"owner": "",
|
|
"params": [
|
|
"frame",
|
|
"stamp",
|
|
"epoch",
|
|
"generation",
|
|
"whisper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "push",
|
|
"owner": "",
|
|
"params": [
|
|
"pipeline",
|
|
"value",
|
|
"stamp",
|
|
"epoch"
|
|
],
|
|
"returnType": "Option<CapturedFrame>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "quantizes_two_ordered_blocks_and_keeps_first_capture_time_and_route_tags",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "capture_is_discarded_until_acknowledged_permit_is_bound",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "wrong_epoch_stale_or_future_block_discards_pending_half_without_leaking_samples",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "whole_frame_age_is_checked_again_at_emission_with_inclusive_200ms_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "mute_and_rebind_between_halves_cannot_mix_sessions_or_epochs",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "pending_and_released_whisper_never_fall_back_to_ordinary_channel",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "typing_attack_hold_and_release_are_applied_before_quantization",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "disabling_typing_restores_gain_immediately_and_ignores_hits_while_disabled",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "invalid_dsp_block_revokes_permit_and_rebind_discards_poisoned_half",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "failed_dsp_reconfiguration_cannot_retain_old_acknowledged_route",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "real_sonora_chain_processes_signal_and_requires_fresh_reference_after_reset",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 53
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::audio",
|
|
"specifiers": [
|
|
"CapturedFrame"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_denoise",
|
|
"specifiers": [
|
|
"CaptureSettings"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::capture",
|
|
"specifiers": [
|
|
"CapturePipeline"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"CapturePermit",
|
|
"SessionKey"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 321,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/devices.rs": {
|
|
"filePath": "native/src/media/audio/devices.rs",
|
|
"contentHash": "162e092c1a590516bf2af2350dc843074c8e6f902ee4c3c3403d17e38fd7e34a",
|
|
"functions": [
|
|
{
|
|
"name": "require",
|
|
"owner": "StartPermission",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stream_config",
|
|
"owner": "DeviceFormat",
|
|
"params": [],
|
|
"returnType": "StreamConfig",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "DeviceFormat",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "initial",
|
|
"owner": "DeviceHost",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "pinned",
|
|
"owner": "DeviceHost",
|
|
"params": [
|
|
"host_id"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "DeviceHost",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enumerate",
|
|
"owner": "DeviceHost",
|
|
"params": [],
|
|
"returnType": "Result<DeviceCatalog>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "select",
|
|
"owner": "DeviceHost",
|
|
"params": [
|
|
"direction",
|
|
"selection",
|
|
"requested",
|
|
"permission"
|
|
],
|
|
"returnType": "Result<SelectedDevice>",
|
|
"exported": true,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "find_exact",
|
|
"owner": "",
|
|
"params": [
|
|
"wanted",
|
|
"devices",
|
|
"identify"
|
|
],
|
|
"returnType": "Result<Option<T>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "preferred_host_names",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static [&'static str]",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "description_allows",
|
|
"owner": "",
|
|
"params": [
|
|
"direction",
|
|
"wanted"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "configurations",
|
|
"owner": "",
|
|
"params": [
|
|
"device",
|
|
"direction"
|
|
],
|
|
"returnType": "std::result::Result<Vec<SupportedStreamConfigRange>, cpal::Error>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "pcm_format",
|
|
"owner": "",
|
|
"params": [
|
|
"format"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "format_in_range",
|
|
"owner": "",
|
|
"params": [
|
|
"format",
|
|
"range"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "select_format",
|
|
"owner": "",
|
|
"params": [
|
|
"ranges",
|
|
"direction",
|
|
"requested"
|
|
],
|
|
"returnType": "Result<DeviceFormat>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "audio_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "silence",
|
|
"owner": "PlaybackBlock",
|
|
"params": [
|
|
"sample_rate",
|
|
"epoch",
|
|
"produced_at"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "service_error",
|
|
"owner": "StreamFault",
|
|
"params": [],
|
|
"returnType": "Option<ServiceError>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"epoch",
|
|
"origin"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "epoch",
|
|
"owner": "StreamState",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_epoch",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"epoch",
|
|
"boundary"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "resume",
|
|
"owner": "StreamState",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "suspend",
|
|
"owner": "StreamState",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fault",
|
|
"owner": "StreamState",
|
|
"params": [],
|
|
"returnType": "StreamFault",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "stats",
|
|
"owner": "StreamState",
|
|
"params": [],
|
|
"returnType": "StreamStats",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "active",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"epoch"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "accepts_capture",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"epoch",
|
|
"at",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "fail",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"fault"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "on_error",
|
|
"owner": "StreamState",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "pause",
|
|
"owner": "StreamOwner",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "StreamOwner",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ClockAnchor",
|
|
"params": [
|
|
"origin"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "calibrate",
|
|
"owner": "ClockAnchor",
|
|
"params": [
|
|
"stream"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "map",
|
|
"owner": "ClockAnchor",
|
|
"params": [
|
|
"timestamp"
|
|
],
|
|
"returnType": "Option<Instant>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "nanos",
|
|
"owner": "",
|
|
"params": [
|
|
"duration"
|
|
],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "frames_duration",
|
|
"owner": "",
|
|
"params": [
|
|
"frames",
|
|
"rate"
|
|
],
|
|
"returnType": "Duration",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "queue_capacity",
|
|
"owner": "",
|
|
"params": [
|
|
"rate"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "finite_sample",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "CaptureCallback",
|
|
"params": [
|
|
"data",
|
|
"timestamp",
|
|
"now"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "clock_contiguous",
|
|
"owner": "",
|
|
"params": [
|
|
"expected",
|
|
"actual"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "next_frame",
|
|
"owner": "PlaybackCallback",
|
|
"params": [
|
|
"epoch",
|
|
"now",
|
|
"playback_at",
|
|
"output_offset",
|
|
"deadline_checked",
|
|
"scan_budget"
|
|
],
|
|
"returnType": "Option<[f32; 2]>",
|
|
"exported": false,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "process",
|
|
"owner": "PlaybackCallback",
|
|
"params": [
|
|
"data",
|
|
"timestamp",
|
|
"now"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "build_capture",
|
|
"owner": "",
|
|
"params": [
|
|
"device",
|
|
"callback",
|
|
"errors"
|
|
],
|
|
"returnType": "Result<cpal::Stream>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "build_playback",
|
|
"owner": "",
|
|
"params": [
|
|
"device",
|
|
"callback",
|
|
"errors"
|
|
],
|
|
"returnType": "Result<cpal::Stream>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "start_capture",
|
|
"owner": "",
|
|
"params": [
|
|
"selected",
|
|
"permission",
|
|
"epoch"
|
|
],
|
|
"returnType": "Result<(StreamOwner, CapturePort)>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "start_playback",
|
|
"owner": "",
|
|
"params": [
|
|
"selected",
|
|
"permission",
|
|
"epoch"
|
|
],
|
|
"returnType": "Result<(StreamOwner, PlaybackPort)>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Direction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Input",
|
|
"Output"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DeviceSelection",
|
|
"methods": [],
|
|
"properties": [
|
|
"SystemDefault",
|
|
"Exact"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StartPermission",
|
|
"methods": [
|
|
"require"
|
|
],
|
|
"properties": [
|
|
"NotRequested",
|
|
"Denied",
|
|
"Granted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DeviceFormat",
|
|
"methods": [
|
|
"stream_config",
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"sample_rate",
|
|
"channels",
|
|
"sample_format",
|
|
"buffer_size"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "DeviceMetadata",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"description",
|
|
"direction",
|
|
"is_default",
|
|
"configurations",
|
|
"configurations_deferred",
|
|
"configuration_error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "DeviceCatalog",
|
|
"methods": [],
|
|
"properties": [
|
|
"host_id",
|
|
"inputs",
|
|
"outputs"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SelectedDevice",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"direction",
|
|
"format",
|
|
"device"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "DeviceHost",
|
|
"methods": [
|
|
"initial",
|
|
"pinned",
|
|
"id",
|
|
"enumerate",
|
|
"select"
|
|
],
|
|
"properties": [
|
|
"host"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureBlock",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"frames",
|
|
"sample_rate",
|
|
"epoch",
|
|
"captured_at",
|
|
"callback_at",
|
|
"frame_position"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "PlaybackBlock",
|
|
"methods": [
|
|
"silence"
|
|
],
|
|
"properties": [
|
|
"samples",
|
|
"frames",
|
|
"sample_rate",
|
|
"epoch",
|
|
"produced_at",
|
|
"expires_at"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "RenderBlock",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"frames",
|
|
"sample_rate",
|
|
"epoch",
|
|
"playback_at",
|
|
"callback_at",
|
|
"frame_position"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "StreamFault",
|
|
"methods": [
|
|
"service_error"
|
|
],
|
|
"properties": [
|
|
"None",
|
|
"DeviceLost",
|
|
"PermissionDenied",
|
|
"RouteChanged",
|
|
"Invalidated",
|
|
"ClockDiscontinuity",
|
|
"CaptureOverflow",
|
|
"ReferenceOverflow",
|
|
"InvalidBuffer",
|
|
"Backend"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamState",
|
|
"methods": [
|
|
"new",
|
|
"epoch",
|
|
"set_epoch",
|
|
"resume",
|
|
"suspend",
|
|
"fault",
|
|
"stats",
|
|
"active",
|
|
"accepts_capture",
|
|
"fail",
|
|
"on_error"
|
|
],
|
|
"properties": [
|
|
"origin",
|
|
"epoch",
|
|
"boundary_ns",
|
|
"enabled",
|
|
"fault",
|
|
"dropped_blocks",
|
|
"underrun_frames",
|
|
"realtime_denied"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "StreamStats",
|
|
"methods": [],
|
|
"properties": [
|
|
"epoch",
|
|
"enabled",
|
|
"fault",
|
|
"dropped_blocks",
|
|
"underrun_frames",
|
|
"realtime_denied"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "CapturePort",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackPort",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"rendered",
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamOwner",
|
|
"methods": [
|
|
"pause",
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"stream",
|
|
"state",
|
|
"device_id",
|
|
"format",
|
|
"_owner_thread"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ClockAnchor",
|
|
"methods": [
|
|
"new",
|
|
"calibrate",
|
|
"map"
|
|
],
|
|
"properties": [
|
|
"origin",
|
|
"device_ns",
|
|
"local_ns"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureCallback",
|
|
"methods": [
|
|
"process"
|
|
],
|
|
"properties": [
|
|
"producer",
|
|
"state",
|
|
"clock",
|
|
"format",
|
|
"frame_position",
|
|
"expected_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "PlaybackCallback",
|
|
"methods": [
|
|
"next_frame",
|
|
"process"
|
|
],
|
|
"properties": [
|
|
"consumer",
|
|
"references",
|
|
"state",
|
|
"clock",
|
|
"format",
|
|
"current",
|
|
"current_offset",
|
|
"frame_position",
|
|
"expected_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"marker::PhantomData",
|
|
"rc::Rc"
|
|
]
|
|
},
|
|
{
|
|
"source": "cpal",
|
|
"specifiers": [
|
|
"BufferSize",
|
|
"DeviceDescription",
|
|
"DeviceDirection",
|
|
"SampleFormat",
|
|
"StreamConfig",
|
|
"StreamInstant",
|
|
"SupportedBufferSize",
|
|
"SupportedStreamConfigRange"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::ring",
|
|
"specifiers": [
|
|
"self",
|
|
"Consumer",
|
|
"Producer"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Direction",
|
|
"DeviceSelection",
|
|
"StartPermission",
|
|
"DeviceFormat",
|
|
"stream_config",
|
|
"DeviceMetadata",
|
|
"DeviceCatalog",
|
|
"SelectedDevice",
|
|
"DeviceHost",
|
|
"initial",
|
|
"pinned",
|
|
"id",
|
|
"enumerate",
|
|
"select",
|
|
"CaptureBlock",
|
|
"PlaybackBlock",
|
|
"silence",
|
|
"RenderBlock",
|
|
"StreamFault",
|
|
"service_error",
|
|
"StreamState",
|
|
"StreamStats",
|
|
"epoch",
|
|
"set_epoch",
|
|
"resume",
|
|
"suspend",
|
|
"fault",
|
|
"stats",
|
|
"CapturePort",
|
|
"PlaybackPort",
|
|
"StreamOwner",
|
|
"pause",
|
|
"stop",
|
|
"start_capture",
|
|
"start_playback"
|
|
],
|
|
"totalLines": 660,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/devices_tests.rs": {
|
|
"filePath": "native/src/media/audio/devices_tests.rs",
|
|
"contentHash": "da6dec6b382ca4a984e0a0c92ed16049ac571bb708c72271811972493cf0575b",
|
|
"functions": [
|
|
{
|
|
"name": "format",
|
|
"owner": "",
|
|
"params": [
|
|
"rate",
|
|
"channels"
|
|
],
|
|
"returnType": "DeviceFormat",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "capture_fixture",
|
|
"owner": "",
|
|
"params": [
|
|
"rate",
|
|
"channels",
|
|
"capacity"
|
|
],
|
|
"returnType": "(CaptureCallback, Consumer<CaptureBlock>, Instant)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "playback_fixture",
|
|
"owner": "",
|
|
"params": [
|
|
"rate",
|
|
"channels",
|
|
"capacity"
|
|
],
|
|
"returnType": "(PlaybackCallback, Producer<PlaybackBlock>, Consumer<RenderBlock>, Instant)",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "input_time",
|
|
"owner": "",
|
|
"params": [
|
|
"capture_ms",
|
|
"callback_ms"
|
|
],
|
|
"returnType": "cpal::InputStreamTimestamp",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "output_time",
|
|
"owner": "",
|
|
"params": [
|
|
"callback_ms",
|
|
"playback_ms"
|
|
],
|
|
"returnType": "cpal::OutputStreamTimestamp",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "block",
|
|
"owner": "",
|
|
"params": [
|
|
"origin",
|
|
"frames",
|
|
"sample"
|
|
],
|
|
"returnType": "PlaybackBlock",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "range",
|
|
"owner": "",
|
|
"params": [
|
|
"channels",
|
|
"min",
|
|
"max",
|
|
"sample_format"
|
|
],
|
|
"returnType": "SupportedStreamConfigRange",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "permissions_are_explicit_and_fail_closed",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "exact_selection_uses_ids_not_display_name_index_or_default",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "input_and_output_directions_are_independent",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "preferred_configuration_is_direction_specific_and_handles_44100",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "explicit_unsupported_configuration_never_silently_changes_rate",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "capture_splits_variable_callback_and_preserves_hardware_clock",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "capture_converts_integer_stereo_and_sanitizes_float_samples",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "capture_overflow_latches_fault_instead_of_sending_old_backlog",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "capture_boundary_rejects_late_delivery_of_physically_old_samples",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "stalled_capture_does_not_retimestamp_600ms_old_pcm",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "clock_mapping_aligns_independent_stream_origins_without_callback_jitter",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "device_clock_discontinuity_disables_capture",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "playback_preserves_stereo_and_reports_submitted_quantized_reference",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "mono_downmix_and_extra_output_channels_are_explicit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "playback_underrun_uses_unsigned_pcm_equilibrium",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "playback_boundary_discards_partial_block_and_old_queued_epoch",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "stale_and_wrong_rate_playback_never_reaches_device",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "reference_overflow_stops_sink_and_reports_reinitialization",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "separate_output_sinks_do_not_steal_or_duplicate_pcm",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "every_supported_pcm_format_roundtrips_callback_conversion",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "malformed_buffers_and_device_errors_fail_closed_without_logging",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "ring_capacity_is_bounded_by_200ms_at_device_rate",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "fresh_worker_block_does_not_refresh_old_source_expiry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "entire_playback_block_must_finish_before_source_expiry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "exact_expiry_is_rejected_but_fresh_following_block_can_play",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "partial_block_expiry_is_rechecked_after_hardware_schedule_change",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "unpublished_playback_state_emits_only_silence_until_explicit_resume",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 391,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/engine.rs": {
|
|
"filePath": "native/src/media/audio/engine.rs",
|
|
"contentHash": "dfd2a045cac52a0f94f97646afd6c3e166f4c5d4f90bfd189cf4e4efd55873f8",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "OutputFence<T>",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "revision",
|
|
"owner": "OutputFence<T>",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "OutputFence<T>",
|
|
"params": [
|
|
"expected"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "revoke",
|
|
"owner": "OutputFence<T>",
|
|
"params": [
|
|
"suspend"
|
|
],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "OutputFence<T>",
|
|
"params": [
|
|
"expected",
|
|
"state",
|
|
"activate"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "retire_stream",
|
|
"owner": "OutputFence<T>",
|
|
"params": [
|
|
"streams",
|
|
"key",
|
|
"epoch",
|
|
"id",
|
|
"suspend"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "revoke",
|
|
"owner": "Shared",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "revoke_local",
|
|
"owner": "Shared",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "silence_outputs",
|
|
"owner": "Shared",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "playback_route",
|
|
"owner": "Shared",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Option<super::mixer::PlaybackRoute>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "upgrade",
|
|
"owner": "AudioWeakHandle",
|
|
"params": [],
|
|
"returnType": "Option<AudioHandle>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "revoke_capture",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "input_level",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"returnType": "f32",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notification_revision",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_transmission_enabled",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "revoke_local_capture",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "downgrade",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"returnType": "AudioWeakHandle",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "terminal_error",
|
|
"owner": "AudioHandle",
|
|
"params": [],
|
|
"returnType": "Option<ServiceError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_stream",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "revoke_stream",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch",
|
|
"stream_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "playback_route",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Option<super::mixer::PlaybackRoute>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "enqueue",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"command",
|
|
"reply"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "push_voice",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch",
|
|
"pcm",
|
|
"received_at"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "push_stream",
|
|
"owner": "AudioHandle",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch",
|
|
"stream_id",
|
|
"pcm",
|
|
"received_at"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "AudioEngine",
|
|
"params": [
|
|
"manager",
|
|
"settings"
|
|
],
|
|
"returnType": "Result<(Self, Receiver<AudioEvent>)>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "AudioEngine",
|
|
"params": [],
|
|
"returnType": "AudioHandle",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "AudioEngine",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "MonoConversion",
|
|
"params": [
|
|
"rate"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "MonoConversion",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "append",
|
|
"owner": "MonoConversion",
|
|
"params": [
|
|
"samples",
|
|
"at",
|
|
"position"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "next",
|
|
"owner": "MonoConversion",
|
|
"params": [],
|
|
"returnType": "Result<Option<([f32; 480], Instant)>>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "DeadlineHistory",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "block",
|
|
"owner": "DeadlineHistory",
|
|
"params": [
|
|
"produced",
|
|
"history_tail",
|
|
"source_expiry"
|
|
],
|
|
"returnType": "Result<Instant>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Output",
|
|
"params": [
|
|
"owner",
|
|
"port",
|
|
"epoch",
|
|
"route_revision"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "write",
|
|
"owner": "Output",
|
|
"params": [
|
|
"pcm",
|
|
"now",
|
|
"source_expiry"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ReferenceTimeline",
|
|
"params": [
|
|
"origin"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "position",
|
|
"owner": "ReferenceTimeline",
|
|
"params": [
|
|
"at"
|
|
],
|
|
"returnType": "i64",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "add",
|
|
"owner": "ReferenceTimeline",
|
|
"params": [
|
|
"pcm",
|
|
"at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "at",
|
|
"owner": "ReferenceTimeline",
|
|
"params": [
|
|
"at"
|
|
],
|
|
"returnType": "[f32; 480]",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "ReferenceTimeline",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "MicrophoneTest",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "MicrophoneTest",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "append",
|
|
"owner": "MicrophoneTest",
|
|
"params": [
|
|
"pcm"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "mix",
|
|
"owner": "MicrophoneTest",
|
|
"params": [
|
|
"pcm"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"shared",
|
|
"settings",
|
|
"events"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "drain_events",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "host",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "Result<&DeviceHost>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"commands",
|
|
"playback"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 62
|
|
},
|
|
{
|
|
"name": "check_revision",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "reconcile_streams",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "stop_capture",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "fail_devices",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "require_permission",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"direction",
|
|
"permission"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "start_input",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"permission"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "open_output",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"selection",
|
|
"permission",
|
|
"voice"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "retire_notifications",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "reset_outputs",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "publish_output_states",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "voice_sink",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "OutputSink",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "configure_notifications",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"device",
|
|
"level_db",
|
|
"revision",
|
|
"permission"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 125
|
|
},
|
|
{
|
|
"name": "playback",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "render_references",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "capture_blocks",
|
|
"owner": "Worker",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "mix",
|
|
"owner": "Worker",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "process_transmission",
|
|
"owner": "",
|
|
"params": [
|
|
"enabled",
|
|
"capture",
|
|
"pcm",
|
|
"at",
|
|
"epoch",
|
|
"now"
|
|
],
|
|
"returnType": "Result<Option<teamspeach_core::audio::CapturedFrame>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "input_meter",
|
|
"owner": "",
|
|
"params": [
|
|
"pcm"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "resolved_voice_sink",
|
|
"owner": "",
|
|
"params": [
|
|
"selection",
|
|
"active_device"
|
|
],
|
|
"returnType": "OutputSink",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "selection_for_sink",
|
|
"owner": "",
|
|
"params": [
|
|
"sink"
|
|
],
|
|
"returnType": "DeviceSelection",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "sample_duration",
|
|
"owner": "",
|
|
"params": [
|
|
"frames",
|
|
"rate"
|
|
],
|
|
"returnType": "Duration",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "closed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "queue_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "AudioCommand",
|
|
"methods": [],
|
|
"properties": [
|
|
"Enumerate",
|
|
"PinHost",
|
|
"SelectInput",
|
|
"SelectOutput",
|
|
"StartInput",
|
|
"StartOutput",
|
|
"StopInput",
|
|
"StopOutput",
|
|
"BindPermit",
|
|
"ActivateConnection",
|
|
"ConnectionEnabled",
|
|
"RemoveConnection",
|
|
"SetStreamGain",
|
|
"RemoveStream",
|
|
"SetPlaybackDsp",
|
|
"SetVoiceGain",
|
|
"SetTransmitting",
|
|
"TypingEnabled",
|
|
"TypingHit",
|
|
"Whisper",
|
|
"ConfigureNotifications",
|
|
"Notify",
|
|
"BeginMicrophoneTest",
|
|
"ListenMicrophoneTest",
|
|
"StopMicrophoneTest",
|
|
"FinishMicrophoneTest"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "MicrophoneTestState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Recording",
|
|
"Ready",
|
|
"Listening",
|
|
"Finished"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Devices",
|
|
"Selected",
|
|
"Started",
|
|
"Stopped",
|
|
"PermissionRequired",
|
|
"CaptureRevoked",
|
|
"MicrophoneTest",
|
|
"NotificationPlayed",
|
|
"NotificationRoute",
|
|
"Error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "Envelope",
|
|
"methods": [],
|
|
"properties": [
|
|
"revision",
|
|
"output_revision",
|
|
"command",
|
|
"reply"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackMessage",
|
|
"methods": [],
|
|
"properties": [
|
|
"Voice",
|
|
"Stream"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "OutputFence",
|
|
"methods": [],
|
|
"properties": [
|
|
"revision",
|
|
"stream_revision",
|
|
"states"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Shared",
|
|
"methods": [
|
|
"revoke",
|
|
"revoke_local",
|
|
"silence_outputs",
|
|
"playback_route"
|
|
],
|
|
"properties": [
|
|
"manager",
|
|
"revision",
|
|
"stop",
|
|
"input",
|
|
"outputs",
|
|
"terminal_error",
|
|
"streams",
|
|
"playback_state",
|
|
"input_level",
|
|
"transmission_enabled",
|
|
"notification_revision"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "AudioHandle",
|
|
"methods": [
|
|
"revoke_capture",
|
|
"input_level",
|
|
"notification_revision",
|
|
"set_transmission_enabled",
|
|
"revoke_local_capture",
|
|
"downgrade",
|
|
"terminal_error",
|
|
"open_stream",
|
|
"revoke_stream",
|
|
"playback_route",
|
|
"send",
|
|
"request",
|
|
"enqueue",
|
|
"push_voice",
|
|
"push_stream"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"playback",
|
|
"shared"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "AudioWeakHandle",
|
|
"methods": [
|
|
"upgrade"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"playback",
|
|
"shared"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "AudioEngine",
|
|
"methods": [
|
|
"start",
|
|
"handle",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MonoConversion",
|
|
"methods": [
|
|
"new",
|
|
"reset",
|
|
"append",
|
|
"next"
|
|
],
|
|
"properties": [
|
|
"converter",
|
|
"input",
|
|
"output",
|
|
"used",
|
|
"first",
|
|
"produced",
|
|
"clock"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Input",
|
|
"methods": [],
|
|
"properties": [
|
|
"_owner",
|
|
"port",
|
|
"conversion",
|
|
"boundary",
|
|
"last"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "DeadlineHistory",
|
|
"methods": [
|
|
"new",
|
|
"block"
|
|
],
|
|
"properties": [
|
|
"marks",
|
|
"position"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Output",
|
|
"methods": [
|
|
"new",
|
|
"write"
|
|
],
|
|
"properties": [
|
|
"owner",
|
|
"port",
|
|
"conversion",
|
|
"reverse",
|
|
"converted",
|
|
"pending",
|
|
"deadlines",
|
|
"epoch",
|
|
"route_revision",
|
|
"awaiting_ring_flush",
|
|
"voice",
|
|
"notification"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "ReferenceTimeline",
|
|
"methods": [
|
|
"new",
|
|
"position",
|
|
"add",
|
|
"at",
|
|
"clear"
|
|
],
|
|
"properties": [
|
|
"origin",
|
|
"samples",
|
|
"tags"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "MicrophoneTest",
|
|
"methods": [
|
|
"new",
|
|
"stop",
|
|
"append",
|
|
"mix",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"samples",
|
|
"recording",
|
|
"listen"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Worker",
|
|
"methods": [
|
|
"new",
|
|
"emit",
|
|
"drain_events",
|
|
"host",
|
|
"run",
|
|
"check_revision",
|
|
"reconcile_streams",
|
|
"stop_capture",
|
|
"fail_devices",
|
|
"require_permission",
|
|
"start_input",
|
|
"open_output",
|
|
"retire_notifications",
|
|
"reset_outputs",
|
|
"publish_output_states",
|
|
"voice_sink",
|
|
"configure_notifications",
|
|
"command",
|
|
"playback",
|
|
"render_references",
|
|
"capture_blocks",
|
|
"mix"
|
|
],
|
|
"properties": [
|
|
"shared",
|
|
"events",
|
|
"host",
|
|
"input_selection",
|
|
"output_selection",
|
|
"input",
|
|
"outputs",
|
|
"capture",
|
|
"settings",
|
|
"mixer",
|
|
"notifications",
|
|
"notification_permission",
|
|
"notification_device",
|
|
"notification_level",
|
|
"notification_sink",
|
|
"revision",
|
|
"output_epoch",
|
|
"output_revision",
|
|
"stream_revision",
|
|
"references",
|
|
"test",
|
|
"pending_events"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_denoise",
|
|
"specifiers": [
|
|
"CaptureSettings"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"capture::CapturePipeline"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AudioCommand",
|
|
"MicrophoneTestState",
|
|
"AudioEvent",
|
|
"AudioHandle",
|
|
"AudioWeakHandle",
|
|
"upgrade",
|
|
"revoke_capture",
|
|
"input_level",
|
|
"notification_revision",
|
|
"set_transmission_enabled",
|
|
"revoke_local_capture",
|
|
"downgrade",
|
|
"terminal_error",
|
|
"open_stream",
|
|
"revoke_stream",
|
|
"playback_route",
|
|
"send",
|
|
"request",
|
|
"push_voice",
|
|
"push_stream",
|
|
"AudioEngine",
|
|
"start",
|
|
"handle",
|
|
"shutdown"
|
|
],
|
|
"totalLines": 1008,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/engine_tests.rs": {
|
|
"filePath": "native/src/media/audio/engine_tests.rs",
|
|
"contentHash": "6b3295340f9bb777cdfa9be4fb46d95ab11f85213965024be8776faeadc0458a",
|
|
"functions": [
|
|
{
|
|
"name": "render_references_sum_physical_sinks_at_their_playback_times",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "stale_reference_slots_do_not_reappear_after_wrap_or_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "callback_chunks_are_converted_to_fixed_capture_blocks_without_retiming",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "reversed_hardware_clock_is_an_error_not_unprocessed_fallback",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "microphone_test_is_bounded_private_and_listens_only_on_request",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "failed_deafen_enqueue_still_fences_an_older_output_reopen",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "output_revoked_during_backend_open_cannot_publish_or_resume",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "output_revoked_after_publication_is_suspended_and_old_generation_stays_old",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "source_expiry_survives_resampler_history_without_becoming_permanent",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "voice_notifications_follow_resolved_endpoint_not_a_new_system_default",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "full_command_queue_does_not_delay_stream_retirement_or_output_suspension",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "stream_retired_during_output_open_cannot_publish_old_media_generation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "later_output_stop_is_not_undone_by_a_stream_boundary_resume",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "muted_route_keeps_session_present_and_unmute_requires_fresh_audio_lease",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 41
|
|
},
|
|
{
|
|
"name": "input_meter_measures_signal_without_retaining_pcm",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "stopping_private_test_keeps_sample_but_stops_capture_and_listening",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "fresh_capture_permit_cannot_transmit_until_host_gate_opens",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 315,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/mixer.rs": {
|
|
"filePath": "native/src/media/audio/mixer.rs",
|
|
"contentHash": "361051ea5472ed8ed0e7c9544f6c0efa6d37170f51cda25f8b04af48e935328c",
|
|
"functions": [
|
|
{
|
|
"name": "flush",
|
|
"owner": "Endpoint",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "push",
|
|
"owner": "Endpoint",
|
|
"params": [
|
|
"block"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "mix_into",
|
|
"owner": "Endpoint",
|
|
"params": [
|
|
"now",
|
|
"output",
|
|
"voice_gain"
|
|
],
|
|
"returnType": "Option<Instant>",
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Ramp",
|
|
"params": [
|
|
"gain"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "Ramp",
|
|
"params": [
|
|
"target",
|
|
"frames"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "next",
|
|
"owner": "Ramp",
|
|
"params": [],
|
|
"returnType": "f32",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "accepts_frame",
|
|
"owner": "PlaybackRoute",
|
|
"params": [
|
|
"epoch",
|
|
"received_at",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamRegistry",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "activate",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key",
|
|
"epoch",
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "remove_connection",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "route",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Option<PlaybackRoute>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key",
|
|
"epoch"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "accepts",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key",
|
|
"epoch",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "active",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"state",
|
|
"key",
|
|
"epoch",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "retire",
|
|
"owner": "StreamRegistry",
|
|
"params": [
|
|
"key",
|
|
"epoch",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "with_stream_registry",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"streams"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "activate_connection",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "remove_connection",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "set_connection_enabled",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch",
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "register_voice",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch"
|
|
],
|
|
"returnType": "Result<PlaybackHandle>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "register_stream",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key",
|
|
"privacy_epoch",
|
|
"stream_id"
|
|
],
|
|
"returnType": "Result<PlaybackHandle>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "register",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"key",
|
|
"epoch",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<PlaybackHandle>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "endpoint_mut",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle"
|
|
],
|
|
"returnType": "Option<&mut Endpoint>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "remove",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "flush",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prune_retired_streams",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "set_stream_gain",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle",
|
|
"gain"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "push_voice",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle",
|
|
"epoch",
|
|
"pcm",
|
|
"received_at",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "push_stream",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle",
|
|
"epoch",
|
|
"pcm",
|
|
"received_at",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "set_enabled",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "set_transmitting",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"transmitting"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_voice_gain",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"gain"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "set_dsp",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"dsp"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "update_targets",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "mix",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"now",
|
|
"output"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mix_with_deadline",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"now",
|
|
"output"
|
|
],
|
|
"returnType": "Option<Instant>",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "stats",
|
|
"owner": "PlaybackMixer",
|
|
"params": [
|
|
"handle"
|
|
],
|
|
"returnType": "Option<PlaybackStats>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "rejected",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stream_count",
|
|
"owner": "PlaybackMixer",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"owner": "",
|
|
"params": [
|
|
"received_at",
|
|
"now"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "db_gain",
|
|
"owner": "",
|
|
"params": [
|
|
"db"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PlaybackKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Voice",
|
|
"Stream"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackHandle",
|
|
"methods": [],
|
|
"properties": [
|
|
"slot",
|
|
"incarnation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackStats",
|
|
"methods": [],
|
|
"properties": [
|
|
"blocks_in",
|
|
"dropped_frames",
|
|
"stale_frames",
|
|
"underruns",
|
|
"buffered_frames"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "QueuedBlock",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"received_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Endpoint",
|
|
"methods": [
|
|
"flush",
|
|
"push",
|
|
"mix_into"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"kind",
|
|
"incarnation",
|
|
"epoch",
|
|
"enabled",
|
|
"gain",
|
|
"queue",
|
|
"playing",
|
|
"stats"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"epoch",
|
|
"enabled"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackDsp",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"comfort_noise",
|
|
"comfort_noise_level_db",
|
|
"echo_reduction_db"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Ramp",
|
|
"methods": [
|
|
"new",
|
|
"set",
|
|
"next"
|
|
],
|
|
"properties": [
|
|
"gain",
|
|
"target",
|
|
"step",
|
|
"remaining"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackRoute",
|
|
"methods": [
|
|
"accepts_frame"
|
|
],
|
|
"properties": [
|
|
"privacy_epoch",
|
|
"enabled",
|
|
"boundary"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamScope",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"epoch",
|
|
"enabled",
|
|
"boundary",
|
|
"active"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamRegistryState",
|
|
"methods": [],
|
|
"properties": [
|
|
"scopes",
|
|
"next_id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamRegistry",
|
|
"methods": [
|
|
"new",
|
|
"activate",
|
|
"remove_connection",
|
|
"route",
|
|
"open",
|
|
"accepts",
|
|
"active",
|
|
"retire"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlaybackMixer",
|
|
"methods": [
|
|
"default",
|
|
"new",
|
|
"with_stream_registry",
|
|
"activate_connection",
|
|
"remove_connection",
|
|
"set_connection_enabled",
|
|
"register_voice",
|
|
"register_stream",
|
|
"register",
|
|
"endpoint_mut",
|
|
"remove",
|
|
"flush",
|
|
"prune_retired_streams",
|
|
"set_stream_gain",
|
|
"push_voice",
|
|
"push_stream",
|
|
"set_enabled",
|
|
"set_transmitting",
|
|
"set_voice_gain",
|
|
"set_dsp",
|
|
"update_targets",
|
|
"mix",
|
|
"mix_with_deadline",
|
|
"stats",
|
|
"rejected",
|
|
"stream_count"
|
|
],
|
|
"properties": [
|
|
"connections",
|
|
"streams",
|
|
"endpoints",
|
|
"next_incarnation",
|
|
"enabled",
|
|
"transmitting",
|
|
"dsp",
|
|
"voice_gain",
|
|
"noise",
|
|
"duck",
|
|
"noise_state",
|
|
"rejected"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"Mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::resample",
|
|
"specifiers": [
|
|
"BLOCK_FRAMES",
|
|
"MIX_RATE"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"PlaybackKind",
|
|
"PlaybackHandle",
|
|
"PlaybackStats",
|
|
"PlaybackDsp",
|
|
"PlaybackRoute",
|
|
"accepts_frame",
|
|
"StreamRegistry",
|
|
"new",
|
|
"route",
|
|
"open",
|
|
"accepts",
|
|
"retire",
|
|
"PlaybackMixer",
|
|
"new",
|
|
"with_stream_registry",
|
|
"activate_connection",
|
|
"remove_connection",
|
|
"set_connection_enabled",
|
|
"register_voice",
|
|
"register_stream",
|
|
"remove",
|
|
"flush",
|
|
"prune_retired_streams",
|
|
"set_stream_gain",
|
|
"push_voice",
|
|
"push_stream",
|
|
"set_enabled",
|
|
"set_transmitting",
|
|
"set_voice_gain",
|
|
"set_dsp",
|
|
"mix",
|
|
"mix_with_deadline",
|
|
"stats",
|
|
"rejected",
|
|
"stream_count"
|
|
],
|
|
"totalLines": 425,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/mixer_tests.rs": {
|
|
"filePath": "native/src/media/audio/mixer_tests.rs",
|
|
"contentHash": "f8f32631f46b91c4ed2ea66135cd389e5c770ab41b674788eb0357ee4fd60d78",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"generation"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "setup",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "(PlaybackMixer, SessionKey, PlaybackHandle, Instant)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "voice_requires_forty_ms_and_rebuffers_after_underrun",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "bounded_ring_drops_oldest_without_accumulating_backlog",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "six_hundred_ms_stall_discards_all_old_speech",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "privacy_epochs_drop_queued_and_delayed_producer_frames",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "reconnect_removes_old_handles_and_cannot_be_reversed_by_stale_control",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "removing_one_connection_does_not_flush_the_other",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "stream_endpoints_are_stereo_and_cannot_be_used_for_core_voice_or_gain",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "sixteen_stream_limit_and_slot_incarnation_prevent_recycled_writes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "ducking_uses_ten_ms_attack_and_eighty_ms_release",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "comfort_noise_matches_rms_setting_and_deafen_is_immediate_silence",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "mixed_deadline_preserves_oldest_source_age_across_connections",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "retired_stream_cannot_recreate_from_queued_pcm_or_register_again",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "retiring_newer_ids_preserves_older_live_stream_gain_and_queue",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "changed_connection_epoch_cannot_reauthorize_old_source_ids",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "master_voice_gain_never_changes_stream_gain_or_resurrects_retired_streams",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 279,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/notification.rs": {
|
|
"filePath": "native/src/media/audio/notification.rs",
|
|
"contentHash": "ea3f33834469c4fd65104f9c50a88f7163527e0315c1f8d6c9065cdaa2d69190",
|
|
"functions": [
|
|
{
|
|
"name": "resolve_sink",
|
|
"owner": "",
|
|
"params": [
|
|
"device",
|
|
"voice_sink"
|
|
],
|
|
"returnType": "Option<OutputSink>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "frames",
|
|
"owner": "DecodedSound",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bytes",
|
|
"owner": "DecodedSound",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "PreparedSound",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "frames",
|
|
"owner": "PreparedSound",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channels",
|
|
"owner": "PreparedSound",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "configure",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"device",
|
|
"voice_sink",
|
|
"level_db",
|
|
"revision",
|
|
"now"
|
|
],
|
|
"returnType": "Result<Option<OutputSink>>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "bind_session",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"key",
|
|
"now"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "remove_session",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"key",
|
|
"now"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<PreparedSound>",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "can_play",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"session",
|
|
"expected_revision"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "play",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"sound",
|
|
"session",
|
|
"expected_revision",
|
|
"ready_sink",
|
|
"now"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "mix_into",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"sink",
|
|
"output",
|
|
"now"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "mark_idle",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "idle_close_due",
|
|
"owner": "NotificationOutput",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"returnType": "Option<OutputSink>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "sink",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "Option<&OutputSink>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "revision",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "active_count",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cached_bytes",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cached_sounds",
|
|
"owner": "NotificationOutput",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clip_mix",
|
|
"owner": "",
|
|
"params": [
|
|
"output"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "invalid_sound",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "decode_wav",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<DecodedSound>",
|
|
"exported": false,
|
|
"lineCount": 57
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "DecodedSound",
|
|
"methods": [
|
|
"frames",
|
|
"bytes"
|
|
],
|
|
"properties": [
|
|
"channels",
|
|
"samples"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PreparedSound",
|
|
"methods": [
|
|
"name",
|
|
"frames",
|
|
"channels"
|
|
],
|
|
"properties": [
|
|
"name",
|
|
"decoded"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ActiveSound",
|
|
"methods": [],
|
|
"properties": [
|
|
"sound",
|
|
"session",
|
|
"position",
|
|
"started_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationOutput",
|
|
"methods": [
|
|
"default",
|
|
"new",
|
|
"configure",
|
|
"bind_session",
|
|
"remove_session",
|
|
"prepare",
|
|
"can_play",
|
|
"play",
|
|
"stop",
|
|
"mix_into",
|
|
"mark_idle",
|
|
"idle_close_due",
|
|
"sink",
|
|
"revision",
|
|
"active_count",
|
|
"cached_bytes",
|
|
"cached_sounds"
|
|
],
|
|
"properties": [
|
|
"cache",
|
|
"cached_bytes",
|
|
"sessions",
|
|
"active",
|
|
"sink",
|
|
"open_sink",
|
|
"revision",
|
|
"configured",
|
|
"gain",
|
|
"idle_since"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Cursor"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::notifications",
|
|
"specifiers": [
|
|
"NotificationDevice",
|
|
"OutputSink",
|
|
"SOUND_OUTPUT_LIMITS"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::mixer",
|
|
"specifiers": [
|
|
"StereoBlock"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::resample",
|
|
"specifiers": [
|
|
"AudioResampler",
|
|
"BLOCK_FRAMES",
|
|
"MIX_RATE"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"resolve_sink",
|
|
"PreparedSound",
|
|
"name",
|
|
"frames",
|
|
"channels",
|
|
"NotificationOutput",
|
|
"new",
|
|
"configure",
|
|
"bind_session",
|
|
"remove_session",
|
|
"prepare",
|
|
"can_play",
|
|
"play",
|
|
"stop",
|
|
"mix_into",
|
|
"idle_close_due",
|
|
"sink",
|
|
"revision",
|
|
"active_count",
|
|
"cached_bytes",
|
|
"cached_sounds",
|
|
"clip_mix"
|
|
],
|
|
"totalLines": 306,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/notification_tests.rs": {
|
|
"filePath": "native/src/media/audio/notification_tests.rs",
|
|
"contentHash": "9196cd2d69f600d7a80307dfc4cc496b7740b0fa5366549194f4269a6a3e55db",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepared",
|
|
"owner": "",
|
|
"params": [
|
|
"channels",
|
|
"seconds"
|
|
],
|
|
"returnType": "PreparedSound",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "output",
|
|
"owner": "",
|
|
"params": [
|
|
"device"
|
|
],
|
|
"returnType": "(NotificationOutput, SessionKey, Instant)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "pcm_wav",
|
|
"owner": "",
|
|
"params": [
|
|
"rate",
|
|
"channels",
|
|
"frames"
|
|
],
|
|
"returnType": "Vec<u8>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "every_bundled_file_matches_existing_notification_registry_and_decodes_real_pcm",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "cache_hit_reuses_decoded_storage_and_updates_lru_without_extra_bytes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "wav_decoder_preserves_stereo_and_resamples_forty_four_point_one_khz",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "malformed_oversize_long_multichannel_and_nonfinite_wav_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "roles_keep_notification_route_independent_and_none_is_silent",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "four_sound_limit_and_wrong_sink_produce_no_cross_routing",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "shared_voice_route_adds_sound_once_without_ducking_or_changing_voice_gain",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "revision_and_session_checks_block_late_decode_and_reconnect_results",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "level_change_is_immediate_and_silence_stops_active_sounds",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "idle_close_is_fifteen_seconds_after_last_sound_and_only_once",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "preflight_rejects_silence_capacity_and_stale_requests_without_preparing",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::notifications",
|
|
"specifiers": [
|
|
"SOUNDS"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashSet"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 208,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/resample.rs": {
|
|
"filePath": "native/src/media/audio/resample.rs",
|
|
"contentHash": "7151950f10c06236779146c84fef22924e5ad65401729c3985b980b238cb30d1",
|
|
"functions": [
|
|
{
|
|
"name": "new_capture",
|
|
"owner": "AudioResampler",
|
|
"params": [
|
|
"device_rate",
|
|
"channels"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new_playback",
|
|
"owner": "AudioResampler",
|
|
"params": [
|
|
"device_rate",
|
|
"channels"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "AudioResampler",
|
|
"params": [
|
|
"device_rate",
|
|
"channels",
|
|
"direction"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "channels",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "input_frames_next",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_frames_next",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "input_frames_max",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_frames_max",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_delay_frames",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "history_tail_output_frames",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_delay",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "Duration",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ratio",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "f64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "process_interleaved",
|
|
"owner": "AudioResampler",
|
|
"params": [
|
|
"input",
|
|
"output"
|
|
],
|
|
"returnType": "Result<ProcessedFrames>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "set_device_drift_ppm",
|
|
"owner": "AudioResampler",
|
|
"params": [
|
|
"ppm"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "AudioResampler",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ClockTracker",
|
|
"params": [
|
|
"sample_rate"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "ClockTracker",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drift_ppm",
|
|
"owner": "ClockTracker",
|
|
"params": [],
|
|
"returnType": "f64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "observe",
|
|
"owner": "ClockTracker",
|
|
"params": [
|
|
"hardware_at",
|
|
"frame_position"
|
|
],
|
|
"returnType": "std::result::Result<Option<f64>, ClockDiscontinuity>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "observe_inner",
|
|
"owner": "ClockTracker",
|
|
"params": [
|
|
"hardware_at",
|
|
"frame_position"
|
|
],
|
|
"returnType": "std::result::Result<Option<f64>, ClockDiscontinuity>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Direction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Capture",
|
|
"Playback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ProcessedFrames",
|
|
"methods": [],
|
|
"properties": [
|
|
"consumed",
|
|
"produced"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioResampler",
|
|
"methods": [
|
|
"new_capture",
|
|
"new_playback",
|
|
"new",
|
|
"channels",
|
|
"input_frames_next",
|
|
"output_frames_next",
|
|
"input_frames_max",
|
|
"output_frames_max",
|
|
"output_delay_frames",
|
|
"history_tail_output_frames",
|
|
"output_delay",
|
|
"ratio",
|
|
"process_interleaved",
|
|
"set_device_drift_ppm",
|
|
"reset"
|
|
],
|
|
"properties": [
|
|
"inner",
|
|
"direction",
|
|
"device_rate",
|
|
"channels",
|
|
"history_tail_output_frames"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ClockDiscontinuity",
|
|
"methods": [],
|
|
"properties": [
|
|
"TimestampReversed",
|
|
"FramePositionReversed",
|
|
"TimestampJump",
|
|
"DriftOutOfRange"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ClockTracker",
|
|
"methods": [
|
|
"new",
|
|
"reset",
|
|
"drift_ppm",
|
|
"observe",
|
|
"observe_inner"
|
|
],
|
|
"properties": [
|
|
"sample_rate",
|
|
"anchor",
|
|
"previous",
|
|
"smoothed_ppm"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::time",
|
|
"specifiers": [
|
|
"Duration",
|
|
"Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "audioadapter_buffers::direct",
|
|
"specifiers": [
|
|
"InterleavedSlice"
|
|
]
|
|
},
|
|
{
|
|
"source": "rubato",
|
|
"specifiers": [
|
|
"Adjustable",
|
|
"Async",
|
|
"FixedAsync",
|
|
"Resampler",
|
|
"SincInterpolationParameters"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Direction",
|
|
"ProcessedFrames",
|
|
"AudioResampler",
|
|
"new_capture",
|
|
"new_playback",
|
|
"channels",
|
|
"input_frames_next",
|
|
"output_frames_next",
|
|
"input_frames_max",
|
|
"output_frames_max",
|
|
"output_delay_frames",
|
|
"history_tail_output_frames",
|
|
"output_delay",
|
|
"ratio",
|
|
"process_interleaved",
|
|
"set_device_drift_ppm",
|
|
"reset",
|
|
"ClockDiscontinuity",
|
|
"ClockTracker",
|
|
"new",
|
|
"reset",
|
|
"drift_ppm",
|
|
"observe"
|
|
],
|
|
"totalLines": 204,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/resample_tests.rs": {
|
|
"filePath": "native/src/media/audio/resample_tests.rs",
|
|
"contentHash": "747e6c1ebf18b56b5d3a92668d31722fd3c97f57aacd7430c75bb7e9e6a46a25",
|
|
"functions": [
|
|
{
|
|
"name": "capture_fixed_output_and_playback_fixed_input_preserve_tone_at_both_rates",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "buffers_are_caller_owned_and_short_input_does_not_advance_resampler",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "drift_correction_is_reciprocal_for_capture_and_direct_for_output",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "clock_uses_hardware_time_and_one_second_smoothing",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "clock_fault_clears_estimate_instead_of_hiding_excess_drift",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "unsupported_format_is_explicit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "history_tail_bound_covers_old_source_impulse_under_drift_and_then_expires",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 32
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 155,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/audio/ring.rs": {
|
|
"filePath": "native/src/media/audio/ring.rs",
|
|
"contentHash": "2c4f60d1284aab385ef01b3b3ace1045056ff80660bf734d45165ac62c19d9f8",
|
|
"functions": [
|
|
{
|
|
"name": "channel",
|
|
"owner": "",
|
|
"params": [
|
|
"capacity"
|
|
],
|
|
"returnType": "(Producer<T>, Consumer<T>)",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "try_push",
|
|
"owner": "Producer<T>",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"returnType": "Result<(), T>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "vacant_len",
|
|
"owner": "Producer<T>",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capacity",
|
|
"owner": "Producer<T>",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "try_pop",
|
|
"owner": "Consumer<T>",
|
|
"params": [],
|
|
"returnType": "Option<T>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "occupied_len",
|
|
"owner": "Consumer<T>",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capacity",
|
|
"owner": "Consumer<T>",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "discard_pending",
|
|
"owner": "Consumer<T>",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Producer",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Consumer",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "ringbuf",
|
|
"specifiers": [
|
|
"HeapCons",
|
|
"HeapProd",
|
|
"HeapRb"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Producer",
|
|
"Consumer",
|
|
"channel",
|
|
"try_push",
|
|
"vacant_len",
|
|
"capacity",
|
|
"try_pop",
|
|
"occupied_len",
|
|
"capacity",
|
|
"discard_pending"
|
|
],
|
|
"totalLines": 97,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/mod.rs": {
|
|
"filePath": "native/src/media/mod.rs",
|
|
"contentHash": "35227cea28959a8f46ef0045a6912278f46fe5d4f275c4f657f011ab1528179c",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 3,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/capture.rs": {
|
|
"filePath": "native/src/media/stream/capture.rs",
|
|
"contentHash": "61acc2280b11c2e74425ee25a75cf84dfc872002df2d33d58783b25b6fdddce7",
|
|
"functions": [
|
|
{
|
|
"name": "validate",
|
|
"owner": "CaptureOptions",
|
|
"params": [],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "CaptureError",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"owner": null,
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "fmt::Result",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "CaptureCancellation",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_cancelled",
|
|
"owner": "CaptureCancellation",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "CaptureCancellation",
|
|
"params": [],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "end",
|
|
"owner": "Shared",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "start_publishing",
|
|
"owner": "Shared",
|
|
"params": [
|
|
"current"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "cancellation",
|
|
"owner": "CaptureObserver",
|
|
"params": [],
|
|
"returnType": "CaptureCancellation",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "session_key",
|
|
"owner": "CaptureObserver",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "video_frame",
|
|
"owner": "CaptureObserver",
|
|
"params": [
|
|
"frame",
|
|
"captured_at"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "audio_frame",
|
|
"owner": "CaptureObserver",
|
|
"params": [
|
|
"samples",
|
|
"captured_at"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "enqueue_audio",
|
|
"owner": "CaptureObserver",
|
|
"params": [
|
|
"samples",
|
|
"captured_at",
|
|
"exact_boundary"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "failed",
|
|
"owner": "CaptureObserver",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"owner": "",
|
|
"params": [
|
|
"at"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "video",
|
|
"owner": "CaptureVideoSource",
|
|
"params": [],
|
|
"returnType": "NativeVideoSource",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"owner": "CaptureVideoSource",
|
|
"params": [],
|
|
"returnType": "Option<NativeAudioSource>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "CaptureVideoSource",
|
|
"params": [
|
|
"options",
|
|
"kind"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "enumerate",
|
|
"owner": "CaptureCoordinator",
|
|
"params": [],
|
|
"returnType": "Result<Vec<CaptureDescriptor>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "ensure_idle",
|
|
"owner": "CaptureCoordinator",
|
|
"params": [],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "begin_preview",
|
|
"owner": "CaptureCoordinator",
|
|
"params": [
|
|
"session",
|
|
"descriptor",
|
|
"options"
|
|
],
|
|
"returnType": "Result<CaptureSession, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "invalidate",
|
|
"owner": "CaptureCoordinator",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"returnType": "CaptureStatus",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "subscribe_status",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"returnType": "tokio::sync::watch::Receiver<CaptureStatus>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_preview",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"returnType": "Option<Arc<PreviewFrame>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start_publishing",
|
|
"owner": "CaptureSession",
|
|
"params": [
|
|
"current"
|
|
],
|
|
"returnType": "Result<CaptureVideoSource, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "stop_callback",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"returnType": "Box<dyn Fn() + Send + Sync>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "stop_publishing",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "CaptureSession",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "feed_sources",
|
|
"owner": "",
|
|
"params": [
|
|
"shared",
|
|
"sources",
|
|
"lease"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "start_platform",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "submit",
|
|
"owner": "PreparedVideo<'_, T>",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "PublishVideoNormalizer",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "PublishVideoNormalizer",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Result<PreparedVideo<'a, T>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SourceColour",
|
|
"params": [
|
|
"matrix",
|
|
"range"
|
|
],
|
|
"returnType": "Result<Self, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "rgb",
|
|
"owner": "SourceColour",
|
|
"params": [
|
|
"y",
|
|
"u",
|
|
"v"
|
|
],
|
|
"returnType": "[f32; 3]",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "convert_to_601",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination",
|
|
"colour"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "packed_to_i420",
|
|
"owner": "",
|
|
"params": [
|
|
"data",
|
|
"width",
|
|
"height",
|
|
"stride",
|
|
"format"
|
|
],
|
|
"returnType": "Result<I420Buffer, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "uses_system_picker",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "desktop_options",
|
|
"owner": "",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"returnType": "Result<libwebrtc::desktop_capturer::DesktopCapturerOptions, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "CaptureApartment",
|
|
"params": [],
|
|
"returnType": "Result<Self, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "desktop_sources",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Vec<CaptureDescriptor>, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start_desktop",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "run_desktop",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 58
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attach_application_audio",
|
|
"owner": "",
|
|
"params": [
|
|
"video",
|
|
"id",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "run_application_audio",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Screen",
|
|
"Window",
|
|
"Camera",
|
|
"SystemPicker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureDescriptor",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"kind",
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureOptions",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"width",
|
|
"height",
|
|
"frame_rate",
|
|
"application_audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureError",
|
|
"methods": [
|
|
"new",
|
|
"fmt"
|
|
],
|
|
"properties": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureCancellation",
|
|
"methods": [
|
|
"cancel",
|
|
"is_cancelled",
|
|
"check"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureLease",
|
|
"methods": [
|
|
"stop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureStatus",
|
|
"methods": [],
|
|
"properties": [
|
|
"PendingConsentOrFrame",
|
|
"Preview",
|
|
"Publishing",
|
|
"Ended",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PreviewFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"frame",
|
|
"captured_at"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioBlock",
|
|
"methods": [],
|
|
"properties": [
|
|
"samples",
|
|
"captured_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Handoff",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"preview",
|
|
"video",
|
|
"audio",
|
|
"publish_after"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Shared",
|
|
"methods": [
|
|
"end",
|
|
"start_publishing"
|
|
],
|
|
"properties": [
|
|
"session",
|
|
"cancellation",
|
|
"released",
|
|
"audio_allowed",
|
|
"state",
|
|
"status"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "CaptureObserver",
|
|
"methods": [
|
|
"cancellation",
|
|
"session_key",
|
|
"video_frame",
|
|
"audio_frame",
|
|
"enqueue_audio",
|
|
"failed"
|
|
],
|
|
"properties": [
|
|
"shared"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureVideoSource",
|
|
"methods": [
|
|
"video",
|
|
"audio",
|
|
"new"
|
|
],
|
|
"properties": [
|
|
"video",
|
|
"audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureCoordinator",
|
|
"methods": [
|
|
"enumerate",
|
|
"ensure_idle",
|
|
"begin_preview",
|
|
"invalidate",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"catalog",
|
|
"active"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureSession",
|
|
"methods": [
|
|
"status",
|
|
"subscribe_status",
|
|
"take_preview",
|
|
"start_publishing",
|
|
"stop_callback",
|
|
"stop_publishing",
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"shared",
|
|
"sources",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublishVideoNormalizer",
|
|
"methods": [
|
|
"new",
|
|
"prepare"
|
|
],
|
|
"properties": [
|
|
"pool"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PreparedVideo",
|
|
"methods": [],
|
|
"properties": [
|
|
"Original",
|
|
"Converted",
|
|
"Busy"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SourceColour",
|
|
"methods": [
|
|
"new",
|
|
"rgb"
|
|
],
|
|
"properties": [
|
|
"y_offset",
|
|
"y_scale",
|
|
"chroma_scale",
|
|
"r_v",
|
|
"b_u",
|
|
"g_u",
|
|
"g_v"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PackedPixelFormat",
|
|
"methods": [],
|
|
"properties": [
|
|
"Bgra",
|
|
"Rgba"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureApartment",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DesktopLease",
|
|
"methods": [
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"cancel",
|
|
"worker"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ApplicationAudioLease",
|
|
"methods": [
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"video",
|
|
"cancellation",
|
|
"audio_worker"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque",
|
|
"fmt"
|
|
]
|
|
},
|
|
{
|
|
"source": "libwebrtc",
|
|
"specifiers": [
|
|
"native::yuv_helper",
|
|
"audio_frame::AudioFrame"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CaptureKind",
|
|
"CaptureDescriptor",
|
|
"CaptureOptions",
|
|
"validate",
|
|
"CaptureError",
|
|
"new",
|
|
"CaptureCancellation",
|
|
"cancel",
|
|
"is_cancelled",
|
|
"check",
|
|
"CaptureLease",
|
|
"CaptureStatus",
|
|
"PreviewFrame",
|
|
"CaptureObserver",
|
|
"cancellation",
|
|
"session_key",
|
|
"video_frame",
|
|
"audio_frame",
|
|
"failed",
|
|
"CaptureVideoSource",
|
|
"video",
|
|
"audio",
|
|
"CaptureCoordinator",
|
|
"enumerate",
|
|
"begin_preview",
|
|
"invalidate",
|
|
"CaptureSession",
|
|
"status",
|
|
"subscribe_status",
|
|
"take_preview",
|
|
"start_publishing",
|
|
"stop_callback",
|
|
"stop_publishing",
|
|
"stop",
|
|
"PublishVideoNormalizer",
|
|
"PreparedVideo",
|
|
"submit",
|
|
"new",
|
|
"prepare",
|
|
"PackedPixelFormat",
|
|
"packed_to_i420"
|
|
],
|
|
"totalLines": 608,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/capture_tests.rs": {
|
|
"filePath": "native/src/media/stream/capture_tests.rs",
|
|
"contentHash": "6dcc04b79ef3c4295c7b44a86da711622a3a85bc0587f296eab04edbd45a6451",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "shared",
|
|
"owner": "",
|
|
"params": [
|
|
"audio_allowed"
|
|
],
|
|
"returnType": "Arc<Shared>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"owner": "",
|
|
"params": [
|
|
"shared"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pending_acquisition_cannot_publish",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "preview_requires_separate_start_and_rejects_recycled_session",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "publish_boundary_rejects_preconsent_and_aged_audio",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "no_audio_consent_never_accepts_audio",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "bounded_audio_is_cleared_on_permission_revoke_and_error_survives_shutdown",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "cancelled_chooser_blocks_reacquisition_until_os_lease_is_released",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "fabricated_or_stale_selection_is_rejected_before_platform_dispatch",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "cancellation_is_shared_and_cannot_be_reset",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "invalid_options_fail_before_os_acquisition",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "delayed_application_pcm_cannot_cross_a_new_publish_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "colour_frame",
|
|
"owner": "",
|
|
"params": [
|
|
"matrix",
|
|
"range",
|
|
"colour",
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "VideoFrame<I420Buffer>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "published_709_full_and_limited_primary_patches_are_actual_601_pixels",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "full_range_greys_preserve_rotation_and_padded_odd_dimensions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "pool_is_bounded_across_resize_and_does_not_mutate_retained_encoder_frames",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "unsupported_publication_colour_is_an_error_not_relabelled_pixels",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 234,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/directory.rs": {
|
|
"filePath": "native/src/media/stream/directory.rs",
|
|
"contentHash": "6367f955cb4a1f0f94267e9378891543cdbd9c2cf544df8ecc22eb063693f9a9",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "StreamDirectory",
|
|
"params": [],
|
|
"returnType": "&SessionKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reset",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<&StreamInfo>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "all_of",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "impl Iterator<Item=&StreamInfo>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"key",
|
|
"name",
|
|
"items"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "prune",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"present"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel_offers",
|
|
"owner": "StreamDirectory",
|
|
"params": [
|
|
"clients",
|
|
"channel_id",
|
|
"probes",
|
|
"watching"
|
|
],
|
|
"returnType": "Vec<ChannelOffer>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "client_id",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<u16>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StreamInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"client_id",
|
|
"name",
|
|
"fields"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ProbeState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Pending",
|
|
"Done",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChannelOffer",
|
|
"methods": [],
|
|
"properties": [
|
|
"Stream",
|
|
"Checking",
|
|
"Unavailable",
|
|
"Error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamDirectory",
|
|
"methods": [
|
|
"new",
|
|
"key",
|
|
"reset",
|
|
"get",
|
|
"all_of",
|
|
"handle",
|
|
"prune",
|
|
"channel_offers"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"streams",
|
|
"sfu_seen"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Map",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashSet"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StreamInfo",
|
|
"ProbeState",
|
|
"ChannelOffer",
|
|
"StreamDirectory",
|
|
"new",
|
|
"key",
|
|
"reset",
|
|
"get",
|
|
"all_of",
|
|
"handle",
|
|
"prune",
|
|
"channel_offers"
|
|
],
|
|
"totalLines": 85,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/frames.rs": {
|
|
"filePath": "native/src/media/stream/frames.rs",
|
|
"contentHash": "bf8569d1e9347e71f05c7f7a8f5e09e76caa3c017d957aabc7c61b8db1aae9f8",
|
|
"functions": [
|
|
{
|
|
"name": "attach",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"track",
|
|
"runtime"
|
|
],
|
|
"returnType": "Result<Arc<Self>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "attach_preview",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"capture",
|
|
"runtime"
|
|
],
|
|
"returnType": "Result<Arc<Self>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 43
|
|
},
|
|
{
|
|
"name": "dropped",
|
|
"owner": "VideoFrames",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "terminal_error",
|
|
"owner": "VideoFrames",
|
|
"params": [],
|
|
"returnType": "Option<StreamError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "VideoFrames",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "recycle",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"pixels"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "take_image",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"surface_width",
|
|
"surface_height"
|
|
],
|
|
"returnType": "Result<Option<PresentedFrame>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "take_pixels",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"surface_width",
|
|
"surface_height"
|
|
],
|
|
"returnType": "Result<Option<PresentedPixels>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "convert",
|
|
"owner": "VideoFrames",
|
|
"params": [
|
|
"frame",
|
|
"surface_width",
|
|
"surface_height"
|
|
],
|
|
"returnType": "Result<Pending, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "source_coordinates",
|
|
"owner": "",
|
|
"params": [
|
|
"rotation",
|
|
"width",
|
|
"height",
|
|
"dx",
|
|
"dy"
|
|
],
|
|
"returnType": "(u32, u32)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ColourMatrix",
|
|
"params": [
|
|
"matrix",
|
|
"range"
|
|
],
|
|
"returnType": "Result<Self, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "convert",
|
|
"owner": "ColourMatrix",
|
|
"params": [
|
|
"y",
|
|
"u",
|
|
"v"
|
|
],
|
|
"returnType": "[u8; 3]",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "record",
|
|
"owner": "AudioProbe",
|
|
"params": [
|
|
"data"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "AudioProbe",
|
|
"params": [],
|
|
"returnType": "(u64,u64,f64)",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Pending",
|
|
"methods": [],
|
|
"properties": [
|
|
"pixels",
|
|
"timestamp_us",
|
|
"received"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"latest",
|
|
"pool",
|
|
"closed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "VideoFrames",
|
|
"methods": [
|
|
"attach",
|
|
"attach_preview",
|
|
"dropped",
|
|
"terminal_error",
|
|
"close",
|
|
"recycle",
|
|
"take_image",
|
|
"take_pixels",
|
|
"convert",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"state",
|
|
"dropped",
|
|
"demand",
|
|
"cancel",
|
|
"error",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "PresentedFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"image",
|
|
"pixels",
|
|
"timestamp_us"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "PresentedPixels",
|
|
"methods": [],
|
|
"properties": [
|
|
"pixels",
|
|
"timestamp_us"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ColourMatrix",
|
|
"methods": [
|
|
"new",
|
|
"convert"
|
|
],
|
|
"properties": [
|
|
"y_offset",
|
|
"y_scale",
|
|
"r_v",
|
|
"g_u",
|
|
"g_v",
|
|
"b_u"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioProbe",
|
|
"methods": [
|
|
"record",
|
|
"snapshot"
|
|
],
|
|
"properties": [
|
|
"samples",
|
|
"squared",
|
|
"blocks"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "libwebrtc",
|
|
"specifiers": [
|
|
"video_track::RtcVideoTrack"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"Image",
|
|
"Rgba8Pixel",
|
|
"SharedPixelBuffer"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio_stream",
|
|
"specifiers": [
|
|
"StreamExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::signal",
|
|
"specifiers": [
|
|
"StreamError"
|
|
]
|
|
},
|
|
{
|
|
"source": "audio",
|
|
"specifiers": [
|
|
"AudioTrackSink"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"VideoFrames",
|
|
"attach",
|
|
"attach_preview",
|
|
"dropped",
|
|
"terminal_error",
|
|
"close",
|
|
"recycle",
|
|
"take_image",
|
|
"take_pixels",
|
|
"PresentedFrame",
|
|
"PresentedPixels",
|
|
"AudioProbe",
|
|
"snapshot"
|
|
],
|
|
"totalLines": 443,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/hub.rs": {
|
|
"filePath": "native/src/media/stream/hub.rs",
|
|
"contentHash": "59338cddee6eb70e00b8de79e6cb272821017199746831ebb761a11099303fcc",
|
|
"functions": [
|
|
{
|
|
"name": "terminate",
|
|
"owner": "Session",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "identity",
|
|
"owner": "Session",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<ClientIdentity>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"signal",
|
|
"runtime",
|
|
"errors"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "session",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Arc<Session>,StreamError>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "disconnect",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "StreamHub",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "on_control",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"self",
|
|
"key",
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"self",
|
|
"key",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "offers",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key",
|
|
"channel"
|
|
],
|
|
"returnType": "Result<Vec<ChannelOffer>,StreamError>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "probe",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "watch",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key",
|
|
"id",
|
|
"factory"
|
|
],
|
|
"returnType": "Result<Arc<StreamViewer>,StreamError>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "viewers",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Vec<Arc<StreamViewer>>,StreamError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publisher",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Option<Arc<StreamPublisher>>,StreamError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "StreamHub",
|
|
"params": [
|
|
"self",
|
|
"key",
|
|
"factory",
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "Result<Arc<StreamPublisher>,StreamError>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Watched",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"viewer"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Session",
|
|
"methods": [
|
|
"terminate",
|
|
"identity",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"own",
|
|
"nickname",
|
|
"clients",
|
|
"directory",
|
|
"probes",
|
|
"viewers",
|
|
"publisher",
|
|
"events"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "StreamHub",
|
|
"methods": [
|
|
"new",
|
|
"session",
|
|
"disconnect",
|
|
"shutdown",
|
|
"on_control",
|
|
"snapshot",
|
|
"offers",
|
|
"probe",
|
|
"watch",
|
|
"viewers",
|
|
"publisher",
|
|
"publish",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"signal",
|
|
"runtime",
|
|
"sessions",
|
|
"errors"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"viewer::StreamViewer"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StreamHub",
|
|
"new",
|
|
"disconnect",
|
|
"shutdown",
|
|
"on_control",
|
|
"offers",
|
|
"probe",
|
|
"watch",
|
|
"viewers",
|
|
"publisher",
|
|
"publish"
|
|
],
|
|
"totalLines": 163,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/mod.rs": {
|
|
"filePath": "native/src/media/stream/mod.rs",
|
|
"contentHash": "04e86dff1aae325b40cb98c542a7d103c2bd99e06879b3e704b371fd859d2ff0",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 12,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/peer.rs": {
|
|
"filePath": "native/src/media/stream/peer.rs",
|
|
"contentHash": "cfefb9743d7a0a4b64cc38b8120a18f36a3dddd959dd0956d691ab9110f4e6c1",
|
|
"functions": [
|
|
{
|
|
"name": "initialize_android",
|
|
"owner": "",
|
|
"params": [
|
|
"vm",
|
|
"application"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "NativePeerFactory",
|
|
"params": [
|
|
"policy",
|
|
"audio",
|
|
"key",
|
|
"config",
|
|
"video"
|
|
],
|
|
"returnType": "Result<Self, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "decoded_audio_probe",
|
|
"owner": "NativePeerFactory",
|
|
"params": [],
|
|
"returnType": "Arc<super::frames::AudioProbe>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wrap_source",
|
|
"owner": "NativePeerFactory",
|
|
"params": [
|
|
"video",
|
|
"audio",
|
|
"stop"
|
|
],
|
|
"returnType": "Arc<NativePublishSource>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "create_source",
|
|
"owner": "NativePeerFactory",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"screencast",
|
|
"with_audio",
|
|
"stop"
|
|
],
|
|
"returnType": "Result<Arc<NativePublishSource>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "publish_capture",
|
|
"owner": "NativePeerFactory",
|
|
"params": [
|
|
"capture",
|
|
"current"
|
|
],
|
|
"returnType": "Result<Arc<NativePublishSource>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "peer",
|
|
"owner": "NativePeerFactory",
|
|
"params": [],
|
|
"returnType": "Result<Arc<NativePeer>, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 87
|
|
},
|
|
{
|
|
"name": "viewer",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Arc<dyn Peer>, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publisher",
|
|
"owner": null,
|
|
"params": [
|
|
"source",
|
|
"settings"
|
|
],
|
|
"returnType": "Result<Arc<dyn Peer>, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "encoding",
|
|
"owner": "",
|
|
"params": [
|
|
"settings",
|
|
"video",
|
|
"dimensions"
|
|
],
|
|
"returnType": "RtpEncodingParameters",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "validate_settings",
|
|
"owner": "",
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "rtc_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "StreamError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "description",
|
|
"owner": "",
|
|
"params": [
|
|
"kind",
|
|
"sdp"
|
|
],
|
|
"returnType": "Result<SessionDescription, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "dispatch_event",
|
|
"owner": "",
|
|
"params": [
|
|
"weak",
|
|
"runtime",
|
|
"sender",
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "fail",
|
|
"owner": "NativePeer",
|
|
"params": [
|
|
"self"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "decoder_status_inner",
|
|
"owner": "NativePeer",
|
|
"params": [],
|
|
"returnType": "Result<Vec<DecoderStatus>, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "NativePeer",
|
|
"params": [],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_volume",
|
|
"owner": null,
|
|
"params": [
|
|
"gain"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "decoder_status",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "PeerFuture<'_, Vec<DecoderStatus>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "signaling_state",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "SignalingState",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "remote_description",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_remote",
|
|
"owner": null,
|
|
"params": [
|
|
"kind",
|
|
"sdp"
|
|
],
|
|
"returnType": "PeerFuture<'_, ()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "set_local",
|
|
"owner": null,
|
|
"params": [
|
|
"kind",
|
|
"sdp"
|
|
],
|
|
"returnType": "PeerFuture<'_, String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "create_answer",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "PeerFuture<'_, String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "create_offer",
|
|
"owner": null,
|
|
"params": [
|
|
"ice_restart"
|
|
],
|
|
"returnType": "PeerFuture<'_, String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "add_candidate",
|
|
"owner": null,
|
|
"params": [
|
|
"candidate"
|
|
],
|
|
"returnType": "PeerFuture<'_, ()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "configure_sender",
|
|
"owner": null,
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "PeerFuture<'_, ()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "take_events",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<mpsc::Receiver<SignalPeerEvent>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture_video",
|
|
"owner": "NativePublishSource",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "capture_audio",
|
|
"owner": "NativePublishSource",
|
|
"params": [
|
|
"pcm",
|
|
"captured_at"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ended",
|
|
"owner": "NativePublishSource",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "live",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "has_audio",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dimensions",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "(u32, u32)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "configure",
|
|
"owner": null,
|
|
"params": [
|
|
"settings"
|
|
],
|
|
"returnType": "PeerFuture<'_, ()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "set_paused",
|
|
"owner": null,
|
|
"params": [
|
|
"paused"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "take_events",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<mpsc::Receiver<SourceEvent>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "DecodePolicy",
|
|
"methods": [],
|
|
"properties": [
|
|
"SoftwareOnly",
|
|
"HardwarePreferred"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NativePeerFactory",
|
|
"methods": [
|
|
"new",
|
|
"decoded_audio_probe",
|
|
"wrap_source",
|
|
"create_source",
|
|
"publish_capture",
|
|
"peer",
|
|
"viewer",
|
|
"publisher"
|
|
],
|
|
"properties": [
|
|
"factory",
|
|
"runtime",
|
|
"audio",
|
|
"key",
|
|
"video",
|
|
"config",
|
|
"policy",
|
|
"audio_probe"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "NativePeer",
|
|
"methods": [
|
|
"fail",
|
|
"decoder_status_inner",
|
|
"check",
|
|
"set_volume",
|
|
"decoder_status",
|
|
"signaling_state",
|
|
"remote_description",
|
|
"set_remote",
|
|
"set_local",
|
|
"create_answer",
|
|
"create_offer",
|
|
"add_candidate",
|
|
"configure_sender",
|
|
"take_events",
|
|
"close",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"connection",
|
|
"factory",
|
|
"runtime",
|
|
"events",
|
|
"event_rx",
|
|
"stopped",
|
|
"remote",
|
|
"sinks",
|
|
"surfaces",
|
|
"tracks",
|
|
"source",
|
|
"senders",
|
|
"volume"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "NativePublishSource",
|
|
"methods": [
|
|
"capture_video",
|
|
"capture_audio",
|
|
"ended",
|
|
"as_any",
|
|
"live",
|
|
"has_audio",
|
|
"dimensions",
|
|
"configure",
|
|
"set_paused",
|
|
"take_events",
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"video",
|
|
"audio",
|
|
"video_track",
|
|
"audio_track",
|
|
"live",
|
|
"paused",
|
|
"gate",
|
|
"stop",
|
|
"events",
|
|
"event_rx",
|
|
"settings",
|
|
"normalizer"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"any::Any",
|
|
"borrow::Cow"
|
|
]
|
|
},
|
|
{
|
|
"source": "libwebrtc",
|
|
"specifiers": [
|
|
"audio_frame::AudioFrame",
|
|
"audio_track::RtcAudioTrack",
|
|
"ice_candidate::IceCandidate",
|
|
"media_stream_track::MediaStreamTrack",
|
|
"rtp_parameters::RtpEncodingParameters",
|
|
"rtp_sender::RtpSender",
|
|
"video_track::RtcVideoTrack",
|
|
"MediaType"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey",
|
|
"media::audio::engine::AudioHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"DecodePolicy",
|
|
"NativePeerFactory",
|
|
"initialize_android",
|
|
"new",
|
|
"decoded_audio_probe",
|
|
"wrap_source",
|
|
"create_source",
|
|
"publish_capture",
|
|
"NativePeer",
|
|
"NativePublishSource",
|
|
"capture_video",
|
|
"capture_audio",
|
|
"ended"
|
|
],
|
|
"totalLines": 442,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/publisher.rs": {
|
|
"filePath": "native/src/media/stream/publisher.rs",
|
|
"contentHash": "c5a866db24c20bfd46217481e06a94e306d6b633b85ec83c41999af6eac34206",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "PublisherOptions",
|
|
"params": [],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "metadata",
|
|
"owner": "PublisherOptions",
|
|
"params": [
|
|
"stream_id",
|
|
"audio"
|
|
],
|
|
"returnType": "StreamPublishArgs",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"id"
|
|
],
|
|
"returnType": "Option<ClientIdentity>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "active",
|
|
"owner": "PublisherState",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "Remote",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"key",
|
|
"own_client_id",
|
|
"signal",
|
|
"factory",
|
|
"clients"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "StreamPublisher",
|
|
"params": [],
|
|
"returnType": "PublisherSnapshot",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "active",
|
|
"owner": "StreamPublisher",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "current",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "register",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "expire",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"e"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "request_viewer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "decline",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id",
|
|
"reason"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "deny_viewer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id",
|
|
"block"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "approve_viewer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"id"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "create_remote",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"remote"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "offer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"initial"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "on_signal",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"remote",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "apply_signal",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"remote",
|
|
"message"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "add_candidate",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"peer",
|
|
"candidate"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "local_candidate",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"candidate"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "send_candidate",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"candidate"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "send_peer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"command"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "send_client",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id",
|
|
"uid",
|
|
"command"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "arm_peer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"remote"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "peer_state",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"remote",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "peer_failure",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"remote",
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop_remote",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id",
|
|
"expected"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "remove",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "kick_viewer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"id",
|
|
"block"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "unblock_viewer",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reconcile_clients",
|
|
"owner": "StreamPublisher",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "update_options",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"self",
|
|
"next"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "apply_options",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"next"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "set_paused",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"paused"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "source_ended",
|
|
"owner": "StreamPublisher",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "terminate",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "fail",
|
|
"owner": "StreamPublisher",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unregister",
|
|
"owner": "StreamPublisher",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Privacy",
|
|
"methods": [],
|
|
"properties": [
|
|
"Public",
|
|
"Contacts",
|
|
"Closed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SourceType",
|
|
"methods": [],
|
|
"properties": [
|
|
"Camera",
|
|
"Screen",
|
|
"Window"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublisherOptions",
|
|
"methods": [
|
|
"default",
|
|
"validate",
|
|
"metadata"
|
|
],
|
|
"properties": [
|
|
"name",
|
|
"source_type",
|
|
"sender",
|
|
"viewer_limit",
|
|
"privacy",
|
|
"allowed_uids"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ClientIdentity",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"nickname"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ClientResolver",
|
|
"methods": [
|
|
"resolve"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublisherState",
|
|
"methods": [
|
|
"active"
|
|
],
|
|
"properties": [
|
|
"Idle",
|
|
"Starting",
|
|
"Live",
|
|
"Stopped",
|
|
"Failed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublisherViewer",
|
|
"methods": [],
|
|
"properties": [
|
|
"client_id",
|
|
"identity",
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublisherSnapshot",
|
|
"methods": [],
|
|
"properties": [
|
|
"state",
|
|
"detail",
|
|
"stream_id",
|
|
"options",
|
|
"viewers",
|
|
"pending",
|
|
"blocked",
|
|
"paused",
|
|
"source_muted",
|
|
"awaiting_stream_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "RemoteState",
|
|
"methods": [],
|
|
"properties": [
|
|
"peer",
|
|
"remote",
|
|
"local",
|
|
"offered",
|
|
"deadline",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Remote",
|
|
"methods": [
|
|
"close"
|
|
],
|
|
"properties": [
|
|
"client_id",
|
|
"identity",
|
|
"state",
|
|
"queue"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"detail",
|
|
"stream_id",
|
|
"options",
|
|
"source",
|
|
"viewers",
|
|
"pending",
|
|
"blocked",
|
|
"awaiting",
|
|
"disconnected",
|
|
"unregistered",
|
|
"paused",
|
|
"deadline",
|
|
"source_muted"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "StreamPublisher",
|
|
"methods": [
|
|
"new",
|
|
"snapshot",
|
|
"active",
|
|
"current",
|
|
"start",
|
|
"register",
|
|
"expire",
|
|
"handle",
|
|
"request_viewer",
|
|
"decline",
|
|
"deny_viewer",
|
|
"approve_viewer",
|
|
"create_remote",
|
|
"offer",
|
|
"on_signal",
|
|
"apply_signal",
|
|
"add_candidate",
|
|
"local_candidate",
|
|
"send_candidate",
|
|
"send_peer",
|
|
"send",
|
|
"send_client",
|
|
"arm_peer",
|
|
"peer_state",
|
|
"peer_failure",
|
|
"drop_remote",
|
|
"remove",
|
|
"kick_viewer",
|
|
"unblock_viewer",
|
|
"reconcile_clients",
|
|
"update_options",
|
|
"apply_options",
|
|
"set_paused",
|
|
"source_ended",
|
|
"stop",
|
|
"terminate",
|
|
"fail",
|
|
"unregister",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"own_client_id",
|
|
"signal",
|
|
"factory",
|
|
"clients",
|
|
"state",
|
|
"wire",
|
|
"updates"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command",
|
|
"StreamPublishArgs"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio",
|
|
"specifiers": [
|
|
"time::Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::signal",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Privacy",
|
|
"SourceType",
|
|
"PublisherOptions",
|
|
"validate",
|
|
"ClientIdentity",
|
|
"ClientResolver",
|
|
"PublisherState",
|
|
"PublisherViewer",
|
|
"PublisherSnapshot",
|
|
"StreamPublisher",
|
|
"new",
|
|
"snapshot",
|
|
"start",
|
|
"expire",
|
|
"handle",
|
|
"deny_viewer",
|
|
"approve_viewer",
|
|
"kick_viewer",
|
|
"unblock_viewer",
|
|
"reconcile_clients",
|
|
"update_options",
|
|
"set_paused",
|
|
"source_ended",
|
|
"stop",
|
|
"terminate"
|
|
],
|
|
"totalLines": 379,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/signal.rs": {
|
|
"filePath": "native/src/media/stream/signal.rs",
|
|
"contentHash": "147224b24b78db40bcafc7402b756a9cbaac59c04d5850dd411a1102d8518aec",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamError",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "closed",
|
|
"owner": "StreamError",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "Candidate",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "Option<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "wire",
|
|
"owner": "Candidate",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "belongs_to",
|
|
"owner": "Candidate",
|
|
"params": [
|
|
"remote"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "candidate_ufrag",
|
|
"owner": "",
|
|
"params": [
|
|
"candidate"
|
|
],
|
|
"returnType": "Option<&str>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "remote_ufrags",
|
|
"owner": "",
|
|
"params": [
|
|
"sdp"
|
|
],
|
|
"returnType": "BTreeSet<&str>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "wire_offer",
|
|
"owner": "",
|
|
"params": [
|
|
"sdp"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "publisher_dimensions",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"resolution"
|
|
],
|
|
"returnType": "(u32, u32, f64)",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "CoreSignal",
|
|
"params": [
|
|
"manager"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "PeerFuture<'_, Value>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "current",
|
|
"owner": null,
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"item",
|
|
"field"
|
|
],
|
|
"returnType": "&'a str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "client_id",
|
|
"owner": "",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"returnType": "Option<u16>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "signal_command",
|
|
"owner": "",
|
|
"params": [
|
|
"stream",
|
|
"client",
|
|
"message"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StreamError",
|
|
"methods": [
|
|
"new",
|
|
"closed"
|
|
],
|
|
"properties": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DescriptionKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Offer",
|
|
"Answer",
|
|
"Rollback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SignalingState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Stable",
|
|
"HaveLocalOffer",
|
|
"HaveRemoteOffer",
|
|
"Closed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PeerState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Connected",
|
|
"Disconnected",
|
|
"Failed",
|
|
"Closed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Candidate",
|
|
"methods": [
|
|
"parse",
|
|
"wire",
|
|
"belongs_to"
|
|
],
|
|
"properties": [
|
|
"sdp",
|
|
"mid",
|
|
"mline"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SignalPeerEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"LocalCandidate",
|
|
"ConnectionState"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DecoderStatus",
|
|
"methods": [],
|
|
"properties": [
|
|
"track",
|
|
"implementation",
|
|
"frames_decoded",
|
|
"power_efficient"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "SenderSettings",
|
|
"methods": [],
|
|
"properties": [
|
|
"video_bitrate_kbps",
|
|
"audio_bitrate_kbps",
|
|
"fps",
|
|
"resolution_height"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "SourceEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ended",
|
|
"Muted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PublishSource",
|
|
"methods": [
|
|
"as_any",
|
|
"live",
|
|
"has_audio",
|
|
"dimensions",
|
|
"configure",
|
|
"set_paused",
|
|
"take_events",
|
|
"stop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Peer",
|
|
"methods": [
|
|
"signaling_state",
|
|
"remote_description",
|
|
"set_remote",
|
|
"set_local",
|
|
"create_answer",
|
|
"create_offer",
|
|
"add_candidate",
|
|
"configure_sender",
|
|
"decoder_status",
|
|
"set_volume",
|
|
"take_events",
|
|
"close"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "PeerFactory",
|
|
"methods": [
|
|
"viewer",
|
|
"publisher"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Signal",
|
|
"methods": [
|
|
"request",
|
|
"current"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "CoreSignal",
|
|
"methods": [
|
|
"new",
|
|
"request",
|
|
"current"
|
|
],
|
|
"properties": [
|
|
"manager"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StreamEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"name",
|
|
"item"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"any::Any",
|
|
"collections::BTreeSet",
|
|
"future::Future",
|
|
"pin::Pin",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionManager",
|
|
"SessionKey"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StreamError",
|
|
"new",
|
|
"closed",
|
|
"DescriptionKind",
|
|
"SignalingState",
|
|
"PeerState",
|
|
"Candidate",
|
|
"parse",
|
|
"wire",
|
|
"belongs_to",
|
|
"candidate_ufrag",
|
|
"remote_ufrags",
|
|
"wire_offer",
|
|
"SignalPeerEvent",
|
|
"DecoderStatus",
|
|
"SenderSettings",
|
|
"publisher_dimensions",
|
|
"SourceEvent",
|
|
"PublishSource",
|
|
"Peer",
|
|
"PeerFactory",
|
|
"Signal",
|
|
"CoreSignal",
|
|
"new",
|
|
"StreamEvent",
|
|
"text",
|
|
"client_id",
|
|
"signal_command"
|
|
],
|
|
"totalLines": 148,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/signal_tests.rs": {
|
|
"filePath": "native/src/media/stream/signal_tests.rs",
|
|
"contentHash": "fac1da448c6b8399b4546075eef11b6207aeb6d7b5546d32b68e99afce9b25b9",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "event",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"item"
|
|
],
|
|
"returnType": "StreamEvent",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "offer",
|
|
"owner": "",
|
|
"params": [
|
|
"u"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "candidate",
|
|
"owner": "",
|
|
"params": [
|
|
"u"
|
|
],
|
|
"returnType": "Candidate",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "signal",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "StreamEvent",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "accepted",
|
|
"owner": "",
|
|
"params": [
|
|
"u"
|
|
],
|
|
"returnType": "StreamEvent",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Gate",
|
|
"params": [],
|
|
"returnType": "Arc<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wait",
|
|
"owner": "Gate",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "Gate",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "PeerFuture<'_,Value>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "current",
|
|
"owner": null,
|
|
"params": [
|
|
"k"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sends",
|
|
"owner": "Wire",
|
|
"params": [],
|
|
"returnType": "Vec<Value>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "leaves",
|
|
"owner": "Wire",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stops",
|
|
"owner": "Wire",
|
|
"params": [],
|
|
"returnType": "Vec<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "signaling_state",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "SignalingState",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "remote_description",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_remote",
|
|
"owner": null,
|
|
"params": [
|
|
"kind",
|
|
"sdp"
|
|
],
|
|
"returnType": "PeerFuture<'_,()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "set_local",
|
|
"owner": null,
|
|
"params": [
|
|
"kind",
|
|
"sdp"
|
|
],
|
|
"returnType": "PeerFuture<'_,String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "create_answer",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "PeerFuture<'_,String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "create_offer",
|
|
"owner": null,
|
|
"params": [
|
|
"_restart"
|
|
],
|
|
"returnType": "PeerFuture<'_,String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "add_candidate",
|
|
"owner": null,
|
|
"params": [
|
|
"candidate"
|
|
],
|
|
"returnType": "PeerFuture<'_,()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "configure_sender",
|
|
"owner": null,
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "PeerFuture<'_,()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "decoder_status",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "PeerFuture<'_,Vec<DecoderStatus>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_volume",
|
|
"owner": null,
|
|
"params": [
|
|
"gain"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_events",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<mpsc::Receiver<SignalPeerEvent>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "Factory",
|
|
"params": [],
|
|
"returnType": "Arc<FakePeer>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "first",
|
|
"owner": "Factory",
|
|
"params": [],
|
|
"returnType": "Arc<FakePeer>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "viewer",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Arc<dyn Peer>,StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publisher",
|
|
"owner": null,
|
|
"params": [
|
|
"source",
|
|
"_settings"
|
|
],
|
|
"returnType": "Result<Arc<dyn Peer>,StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "viewer",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "(Arc<StreamViewer>,Arc<Wire>,Arc<Factory>)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "helpers_keep_wire_fields_track_identity_and_aspect",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "viewer_early_ice_answer_order_realign_and_stale_ufrag",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "viewer_stop_while_remote_offer_pending_is_terminal_and_leaves_once",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "viewer_stop_during_rollback_never_sets_replacement_offer",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "viewer_matches_full_session_identity_and_timeout_is_ninety_seconds",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "viewer_decline_and_server_stop_never_send_leave",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "live",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "has_audio",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dimensions",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "(u32,u32)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "configure",
|
|
"owner": null,
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "PeerFuture<'_,()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_paused",
|
|
"owner": null,
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_events",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<mpsc::Receiver<SourceEvent>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": null,
|
|
"params": [
|
|
"_key",
|
|
"id"
|
|
],
|
|
"returnType": "Option<ClientIdentity>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Publishing",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Publishing",
|
|
"params": [
|
|
"options"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "Publishing",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publisher_registers_actual_id_offers_outgoing_video_and_releases_once",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "publisher_closed_admission_rechecks_uid_and_contacts_never_autoadmits_unknown",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "publisher_reserves_capacity_before_offer_and_stop_cancels_offer",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "publisher_late_setup_id_is_unregistered_after_local_stop",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "publisher_privacy_closes_every_peer_before_eviction_ack",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "publisher_early_ice_reconnect_and_client_reuse_are_isolated",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "viewer_volume_is_independent_retained_and_rejects_invalid_or_stale_changes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Gate",
|
|
"methods": [
|
|
"new",
|
|
"wait",
|
|
"release"
|
|
],
|
|
"properties": [
|
|
"entered",
|
|
"permit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Wire",
|
|
"methods": [
|
|
"default",
|
|
"request",
|
|
"current",
|
|
"sends",
|
|
"leaves",
|
|
"stops"
|
|
],
|
|
"properties": [
|
|
"commands",
|
|
"current",
|
|
"setup",
|
|
"remove"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PeerData",
|
|
"methods": [],
|
|
"properties": [
|
|
"state",
|
|
"remote",
|
|
"candidates",
|
|
"descriptions",
|
|
"settings"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FakePeer",
|
|
"methods": [
|
|
"default",
|
|
"signaling_state",
|
|
"remote_description",
|
|
"set_remote",
|
|
"set_local",
|
|
"create_answer",
|
|
"create_offer",
|
|
"add_candidate",
|
|
"configure_sender",
|
|
"decoder_status",
|
|
"set_volume",
|
|
"take_events",
|
|
"close"
|
|
],
|
|
"properties": [
|
|
"data",
|
|
"closed",
|
|
"answer_count",
|
|
"gate",
|
|
"offer_gate",
|
|
"reject_candidate",
|
|
"volume"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Factory",
|
|
"methods": [
|
|
"create",
|
|
"first",
|
|
"viewer",
|
|
"publisher"
|
|
],
|
|
"properties": [
|
|
"peers",
|
|
"next"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Source",
|
|
"methods": [
|
|
"as_any",
|
|
"live",
|
|
"has_audio",
|
|
"dimensions",
|
|
"configure",
|
|
"set_paused",
|
|
"take_events",
|
|
"stop"
|
|
],
|
|
"properties": [
|
|
"stops",
|
|
"paused",
|
|
"settings"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Clients",
|
|
"methods": [
|
|
"resolve"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Publishing",
|
|
"methods": [
|
|
"new",
|
|
"start",
|
|
"request"
|
|
],
|
|
"properties": [
|
|
"s",
|
|
"w",
|
|
"f",
|
|
"source",
|
|
"clients"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio",
|
|
"specifiers": [
|
|
"time::Instant"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 210,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/media/stream/viewer.rs": {
|
|
"filePath": "native/src/media/stream/viewer.rs",
|
|
"contentHash": "dd5ef8deb9969ec9ca3f7e6f93a83cc8cddf1fe469cb2f23478c2fda909b2caa",
|
|
"functions": [
|
|
{
|
|
"name": "terminal",
|
|
"owner": "ViewerState",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"key",
|
|
"stream_id",
|
|
"client_id",
|
|
"own_client_id",
|
|
"signal",
|
|
"factory"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "StreamViewer",
|
|
"params": [],
|
|
"returnType": "ViewerSnapshot",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "active",
|
|
"owner": "StreamViewer",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_volume",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"gain"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "decoder_status",
|
|
"owner": "StreamViewer",
|
|
"params": [],
|
|
"returnType": "Result<Vec<DecoderStatus>, StreamError>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"self",
|
|
"message"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "expire",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "StreamViewer",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "terminate",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "matches",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"self",
|
|
"e"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "ensure_peer",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"self"
|
|
],
|
|
"returnType": "Result<Arc<dyn Peer>, StreamError>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "apply_offer",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"self",
|
|
"sdp"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "negotiate",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"self",
|
|
"sdp"
|
|
],
|
|
"returnType": "Result<(),StreamError>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "local_candidate",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"candidate"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "remote_candidate",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"candidate"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "add_candidate",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"peer",
|
|
"candidate"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "connection_state",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(), StreamError>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"state",
|
|
"detail",
|
|
"leave"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "finish_when",
|
|
"owner": "StreamViewer",
|
|
"params": [
|
|
"state",
|
|
"detail",
|
|
"leave",
|
|
"expired_at"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ViewerState",
|
|
"methods": [
|
|
"terminal"
|
|
],
|
|
"properties": [
|
|
"Idle",
|
|
"Requesting",
|
|
"Connecting",
|
|
"Live",
|
|
"Unstable",
|
|
"Declined",
|
|
"Ended",
|
|
"Removed",
|
|
"Failed",
|
|
"Stopped",
|
|
"Unsupported"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ViewerSnapshot",
|
|
"methods": [],
|
|
"properties": [
|
|
"state",
|
|
"detail",
|
|
"answers_sent",
|
|
"offers_applied",
|
|
"remote_candidates_added",
|
|
"stale_candidates",
|
|
"candidate_errors",
|
|
"volume"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"snapshot",
|
|
"peer",
|
|
"remote",
|
|
"local",
|
|
"deadline",
|
|
"leave_sent"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "StreamViewer",
|
|
"methods": [
|
|
"new",
|
|
"snapshot",
|
|
"active",
|
|
"set_volume",
|
|
"decoder_status",
|
|
"start",
|
|
"expire",
|
|
"stop",
|
|
"terminate",
|
|
"matches",
|
|
"handle",
|
|
"ensure_peer",
|
|
"apply_offer",
|
|
"negotiate",
|
|
"local_candidate",
|
|
"remote_candidate",
|
|
"add_candidate",
|
|
"connection_state",
|
|
"send",
|
|
"finish",
|
|
"finish_when",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"stream_id",
|
|
"client_id",
|
|
"own_client_id",
|
|
"signal",
|
|
"factory",
|
|
"state",
|
|
"negotiation",
|
|
"wire"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio",
|
|
"specifiers": [
|
|
"time::Instant"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::signal",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ViewerState",
|
|
"terminal",
|
|
"ViewerSnapshot",
|
|
"StreamViewer",
|
|
"new",
|
|
"snapshot",
|
|
"set_volume",
|
|
"decoder_status",
|
|
"start",
|
|
"expire",
|
|
"stop",
|
|
"terminate",
|
|
"handle",
|
|
"local_candidate",
|
|
"connection_state"
|
|
],
|
|
"totalLines": 244,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/android.rs": {
|
|
"filePath": "native/src/platform/android.rs",
|
|
"contentHash": "329881b1358241c5ff8015f09d66d40bb2ca77e22c215415fdc8ed77c4d8a2b3",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "java",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "binding",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<&'static Binding>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "with_env",
|
|
"owner": "",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "next_id",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "call_void",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"signature",
|
|
"args"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "complete",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"response"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Request",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "receive",
|
|
"owner": "Request",
|
|
"params": [],
|
|
"returnType": "Result<Response>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "accepted",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "permission_id",
|
|
"owner": "",
|
|
"params": [
|
|
"permission"
|
|
],
|
|
"returnType": "i32",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "application_context",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(*mut c_void, *mut c_void)>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "build_channel",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<crate::services::updates::BuildChannel>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"app"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 54
|
|
},
|
|
{
|
|
"name": "destroy_ui",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"owner": "",
|
|
"params": [
|
|
"request",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Option<Selection>>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "request_permission",
|
|
"owner": "",
|
|
"params": [
|
|
"permission",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "start_voice",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"key",
|
|
"microphone",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "set_voice_capture",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"enabled",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "revoke_voice_capture",
|
|
"owner": "",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "end_voice",
|
|
"owner": "",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "stop_voice",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "invalidate_session",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "register_action",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"stream"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"title",
|
|
"body",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<NotificationLease>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enter_picture_in_picture",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"stream_id",
|
|
"width",
|
|
"height",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<PictureInPictureLease>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "clipboard_read",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clipboard_write",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clipboard",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "share_text",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "share_document",
|
|
"owner": "",
|
|
"params": [
|
|
"document",
|
|
"mime_type",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "install_apk",
|
|
"owner": "",
|
|
"params": [
|
|
"apk",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<InstallOutcome>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "open_store",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeInstall",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"class",
|
|
"application",
|
|
"files"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeEvent",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"generation",
|
|
"event",
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativePermission",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"id",
|
|
"permission",
|
|
"granted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativePick",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"grant",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeText",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"value",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceValid",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceStarted",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"microphone"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceStopped",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceEvent",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"event",
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureValid",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"id"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureCurrent",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"id"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureChanged",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"id",
|
|
"enabled"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureRevoked",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "Option<Action>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeNotificationValid",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeAction",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"token",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeInsets",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"generation",
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"keyboard"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeAccessibility",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"generation",
|
|
"scale",
|
|
"reduced",
|
|
"contrast",
|
|
"reader"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativePip",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"token",
|
|
"active",
|
|
"playing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeHarnessEnabled",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Binding",
|
|
"methods": [],
|
|
"properties": [
|
|
"vm",
|
|
"application",
|
|
"class",
|
|
"files"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Voice",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"key",
|
|
"microphone",
|
|
"capture_revision",
|
|
"capture_change",
|
|
"_runtime"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Action",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"stream"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Response",
|
|
"methods": [],
|
|
"properties": [
|
|
"Selection",
|
|
"Permission",
|
|
"Text",
|
|
"Voice"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Request",
|
|
"methods": [
|
|
"new",
|
|
"receive",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"receiver"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationLease",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PictureInPictureLease",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "InstallOutcome",
|
|
"methods": [],
|
|
"properties": [
|
|
"Installed",
|
|
"Cancelled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"ffi::c_void",
|
|
"path::PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni",
|
|
"specifiers": [
|
|
"JNIEnv",
|
|
"JavaVM"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"oneshot"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppConfig",
|
|
"AppRuntime",
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "smoke",
|
|
"specifiers": [
|
|
"AndroidSmokeRequest",
|
|
"smoke_request"
|
|
]
|
|
},
|
|
{
|
|
"source": "accessibility",
|
|
"specifiers": [
|
|
"attach_accessibility",
|
|
"AccessibilityLease"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"application_context",
|
|
"build_channel",
|
|
"run",
|
|
"pick",
|
|
"request_permission",
|
|
"start_voice",
|
|
"set_voice_capture",
|
|
"stop_voice",
|
|
"invalidate_session",
|
|
"NotificationLease",
|
|
"notify",
|
|
"PictureInPictureLease",
|
|
"enter_picture_in_picture",
|
|
"clipboard_read",
|
|
"clipboard_write",
|
|
"share_text",
|
|
"share_document",
|
|
"InstallOutcome",
|
|
"install_apk",
|
|
"open_store",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeInstall",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeEvent",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativePermission",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativePick",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeText",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceValid",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceStarted",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceStopped",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceEvent",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureValid",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureCurrent",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureChanged",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeVoiceCaptureRevoked",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeNotificationValid",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeAction",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeInsets",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeAccessibility",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativePip",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeHarnessEnabled"
|
|
],
|
|
"totalLines": 360,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/android/accessibility.rs": {
|
|
"filePath": "native/src/platform/android/accessibility.rs",
|
|
"contentHash": "3b602c42d3e2b250d1fc0c7fefab6e6941fcaf376834f9f7beb1551556872dcc",
|
|
"functions": [
|
|
{
|
|
"name": "reserve",
|
|
"owner": "ActionSlot",
|
|
"params": [],
|
|
"returnType": "Option<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attach_accessibility",
|
|
"owner": "",
|
|
"params": [
|
|
"window",
|
|
"generation"
|
|
],
|
|
"returnType": "AccessibilityLease",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "detach",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "string",
|
|
"owner": "",
|
|
"params": [
|
|
"item",
|
|
"property"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flag",
|
|
"owner": "",
|
|
"params": [
|
|
"item",
|
|
"property"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "class",
|
|
"owner": "",
|
|
"params": [
|
|
"role"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "State",
|
|
"params": [
|
|
"item"
|
|
],
|
|
"returnType": "Option<i32>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "State",
|
|
"params": [],
|
|
"returnType": "Option<Value>",
|
|
"exported": false,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "byte_to_utf16",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"offset"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "utf16_to_byte",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"offset"
|
|
],
|
|
"returnType": "Option<i32>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "synchronize",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "perform",
|
|
"owner": "",
|
|
"params": [
|
|
"generation",
|
|
"node",
|
|
"action",
|
|
"text",
|
|
"start",
|
|
"end"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeAccessibilityAction",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"generation",
|
|
"node",
|
|
"action",
|
|
"text",
|
|
"start",
|
|
"end"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_PlatformBridge_nativeBack",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"generation"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Item",
|
|
"methods": [],
|
|
"properties": [
|
|
"weak",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [
|
|
"id",
|
|
"snapshot"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"adapter",
|
|
"items",
|
|
"nodes",
|
|
"next",
|
|
"last",
|
|
"tracker",
|
|
"topology_at",
|
|
"focus",
|
|
"popups"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ActionSlot",
|
|
"methods": [
|
|
"reserve",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AccessibilityLease",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"_timer"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::BTreeMap",
|
|
"pin::Pin"
|
|
]
|
|
},
|
|
{
|
|
"source": "i_slint_core",
|
|
"specifiers": [
|
|
"input::FocusReason"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni",
|
|
"specifiers": [
|
|
"JNIEnv"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "i_slint_core::properties",
|
|
"specifiers": [
|
|
"PropertyTracker"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"UI",
|
|
"SCREEN_READER",
|
|
"java",
|
|
"with_env"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AccessibilityLease",
|
|
"attach_accessibility",
|
|
"detach",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeAccessibilityAction",
|
|
"Java_dev_teamspeach_mobile_PlatformBridge_nativeBack"
|
|
],
|
|
"totalLines": 143,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/android/documents.rs": {
|
|
"filePath": "native/src/platform/android/documents.rs",
|
|
"contentHash": "67c0c5220955394a8684125d48a8a74587f9e38d4ec67c9df6d48ec0e488fd72",
|
|
"functions": [
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "grant",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"object"
|
|
],
|
|
"returnType": "Result<Arc<Grant>>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"object"
|
|
],
|
|
"returnType": "Result<Selection>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "provider_error",
|
|
"owner": "",
|
|
"params": [
|
|
"env"
|
|
],
|
|
"returnType": "crate::services::ServiceError",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "size",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Option<u64>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_read",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_write",
|
|
"owner": null,
|
|
"params": [
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commit_from",
|
|
"owner": null,
|
|
"params": [
|
|
"source",
|
|
"cancelled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "object",
|
|
"owner": "Document",
|
|
"params": [],
|
|
"returnType": "&JObject<'_>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "Document",
|
|
"params": [
|
|
"write",
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "child",
|
|
"owner": null,
|
|
"params": [
|
|
"name",
|
|
"overwrite"
|
|
],
|
|
"returnType": "Result<Arc<dyn DocumentGrant>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": null,
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Grant",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"object",
|
|
"name"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Document",
|
|
"methods": [
|
|
"as_any",
|
|
"display_name",
|
|
"size",
|
|
"open_read",
|
|
"open_write",
|
|
"commit_from",
|
|
"object",
|
|
"open"
|
|
],
|
|
"properties": [
|
|
"grant"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Directory",
|
|
"methods": [
|
|
"as_any",
|
|
"display_name",
|
|
"child",
|
|
"directory"
|
|
],
|
|
"properties": [
|
|
"grant"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs::File",
|
|
"os::fd::FromRawFd",
|
|
"path::Path",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni",
|
|
"specifiers": [
|
|
"JNIEnv"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::resources",
|
|
"specifiers": [
|
|
"DirectoryGrant",
|
|
"DocumentGrant",
|
|
"Selection",
|
|
"require_component"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"java",
|
|
"with_env",
|
|
"error"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Document",
|
|
"selection",
|
|
"object"
|
|
],
|
|
"totalLines": 115,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/android/smoke.rs": {
|
|
"filePath": "native/src/platform/android/smoke.rs",
|
|
"contentHash": "8a26e1b2e95dd95121eee2f41122fb86fb29c779015e5bf64fe084f47237c7bc",
|
|
"functions": [
|
|
{
|
|
"name": "private_path",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"root",
|
|
"leaf"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "smoke_request",
|
|
"owner": "",
|
|
"params": [
|
|
"app"
|
|
],
|
|
"returnType": "Result<Option<AndroidSmokeRequest>>",
|
|
"exported": true,
|
|
"lineCount": 27
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "AndroidSmokeRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"scenario",
|
|
"profile",
|
|
"output"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni::objects",
|
|
"specifiers": [
|
|
"JObject",
|
|
"JString",
|
|
"JValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"error",
|
|
"java",
|
|
"with_env",
|
|
"binding"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AndroidSmokeRequest",
|
|
"smoke_request"
|
|
],
|
|
"totalLines": 43,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/apple.rs": {
|
|
"filePath": "native/src/platform/apple.rs",
|
|
"contentHash": "20ce67f7ec8e7a9317cc860b5fb8c81ab99a9ed3cabe348d8c7ca2179dc0e2d8",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<CString>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "borrowed_text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pending",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static Mutex<BTreeMap<u64,oneshot::Sender<Response>>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Request",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "result",
|
|
"owner": "Request",
|
|
"params": [],
|
|
"returnType": "Result<Response>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_apple_result",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"status",
|
|
"value",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "initialize",
|
|
"owner": "",
|
|
"params": [
|
|
"ui_generation",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<HostLease>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "private_container",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request_permission",
|
|
"owner": "",
|
|
"params": [
|
|
"permission",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "begin_call",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"runtime",
|
|
"microphone",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<CallLease>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "CallLease",
|
|
"params": [],
|
|
"returnType": "&SessionKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "resume",
|
|
"owner": "CallLease",
|
|
"params": [
|
|
"authorization",
|
|
"microphone",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_capture_enabled",
|
|
"owner": "CallLease",
|
|
"params": [
|
|
"enabled",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"owner": "",
|
|
"params": [
|
|
"request",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Option<Selection>>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "size",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Option<u64>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_read",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_write",
|
|
"owner": null,
|
|
"params": [
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commit_from",
|
|
"owner": null,
|
|
"params": [
|
|
"source",
|
|
"cancelled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "AppleGrant",
|
|
"params": [
|
|
"write",
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "child",
|
|
"owner": null,
|
|
"params": [
|
|
"name",
|
|
"overwrite"
|
|
],
|
|
"returnType": "Result<Arc<dyn DocumentGrant>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": null,
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clipboard_write",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clipboard_read",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "share_text",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "share_document",
|
|
"owner": "",
|
|
"params": [
|
|
"document",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "",
|
|
"params": [
|
|
"notification",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "remove_notification",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_external_url",
|
|
"owner": "",
|
|
"params": [
|
|
"url",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "suspend_capture",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_apple_event",
|
|
"owner": "",
|
|
"params": [
|
|
"kind",
|
|
"generation",
|
|
"a",
|
|
"b",
|
|
"c",
|
|
"d",
|
|
"e"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "tp_apple_notification_action",
|
|
"owner": "",
|
|
"params": [
|
|
"connection",
|
|
"session",
|
|
"generation",
|
|
"action",
|
|
"target"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Response",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"status",
|
|
"value",
|
|
"text"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Request",
|
|
"methods": [
|
|
"new",
|
|
"result",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"rx"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HostLease",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"generation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CallLease",
|
|
"methods": [
|
|
"key",
|
|
"resume",
|
|
"set_capture_enabled",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"token",
|
|
"_runtime"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ResumeAuthorization",
|
|
"methods": [],
|
|
"properties": [
|
|
"OsShouldResume",
|
|
"ExplicitUserAction"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AppleGrant",
|
|
"methods": [
|
|
"drop",
|
|
"as_any",
|
|
"display_name",
|
|
"size",
|
|
"open_read",
|
|
"open_write",
|
|
"commit_from",
|
|
"open",
|
|
"as_any",
|
|
"display_name",
|
|
"child",
|
|
"directory"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"name"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ShareFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"path",
|
|
"_directory"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Notification",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"title",
|
|
"body",
|
|
"action"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"fs::File",
|
|
"os::fd::FromRawFd",
|
|
"path::PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"oneshot"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppRuntime",
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"initialize",
|
|
"HostLease",
|
|
"private_container",
|
|
"request_permission",
|
|
"begin_call",
|
|
"CallLease",
|
|
"ResumeAuthorization",
|
|
"key",
|
|
"resume",
|
|
"set_capture_enabled",
|
|
"pick",
|
|
"clipboard_write",
|
|
"clipboard_read",
|
|
"share_text",
|
|
"share_document",
|
|
"Notification",
|
|
"notify",
|
|
"remove_notification",
|
|
"open_external_url"
|
|
],
|
|
"totalLines": 172,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/apple/bridge.h": {
|
|
"filePath": "native/src/platform/apple/bridge.h",
|
|
"contentHash": "d962a042d2b33f6577470d44160871626d7f71b81c793ed777d0bcdf00fba564",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "stdint.h",
|
|
"specifiers": [
|
|
"stdint.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "stdbool.h",
|
|
"specifiers": [
|
|
"stdbool.h"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 24,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/apple/bridge.mm": {
|
|
"filePath": "native/src/platform/apple/bridge.mm",
|
|
"contentHash": "6db50f74d7a92c04e3ff7ed0019180953f4e36e58880cfb69a97fc4e69c6716c",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 167,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/apple/documents.mm": {
|
|
"filePath": "native/src/platform/apple/documents.mm",
|
|
"contentHash": "04880d51fbdb2dc210c8dcb9c45be1f358ea2b36fd63afb6fb809020fdb30f18",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 183,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/apple/pip.mm": {
|
|
"filePath": "native/src/platform/apple/pip.mm",
|
|
"contentHash": "8161fa5b03a88ee92a802cee52d974a483eb00767a4d247144c207042d96a54c",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 109,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/apple/pip.rs": {
|
|
"filePath": "native/src/platform/apple/pip.rs",
|
|
"contentHash": "cd66d10825d2b774cf5aecf8a37a387df22d5e86405508263890daa2d3a96c61",
|
|
"functions": [
|
|
{
|
|
"name": "validate",
|
|
"owner": "ViewerRect",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "PictureInPicture",
|
|
"params": [
|
|
"key",
|
|
"stream_id",
|
|
"rect",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "PictureInPicture",
|
|
"params": [],
|
|
"returnType": "&SessionKey",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stream_id",
|
|
"owner": "PictureInPicture",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "rgba_frame",
|
|
"owner": "PictureInPicture",
|
|
"params": [
|
|
"rgba",
|
|
"width",
|
|
"height",
|
|
"stride"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "PictureInPicture",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "layout",
|
|
"owner": "PictureInPicture",
|
|
"params": [
|
|
"rect"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_playing",
|
|
"owner": "PictureInPicture",
|
|
"params": [
|
|
"playing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_apple_pip_event",
|
|
"owner": "",
|
|
"params": [
|
|
"connection",
|
|
"session",
|
|
"generation",
|
|
"stream",
|
|
"active",
|
|
"playing"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ViewerRect",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"x",
|
|
"y",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PictureInPicture",
|
|
"methods": [
|
|
"create",
|
|
"key",
|
|
"stream_id",
|
|
"rgba_frame",
|
|
"start",
|
|
"layout",
|
|
"set_playing",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"key",
|
|
"stream_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ViewerRect",
|
|
"PictureInPicture",
|
|
"create",
|
|
"key",
|
|
"stream_id",
|
|
"rgba_frame",
|
|
"start",
|
|
"layout",
|
|
"set_playing"
|
|
],
|
|
"totalLines": 30,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/camera.rs": {
|
|
"filePath": "native/src/platform/camera.rs",
|
|
"contentHash": "b9fee3c81779ac1b0663848c3979379d2e881f1b3af265d4cdd3a47119bc4a3b",
|
|
"functions": [
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enumerate",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Vec<CaptureDescriptor>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"cancellation",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "native_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error",
|
|
"fallback"
|
|
],
|
|
"returnType": "CaptureError",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "error_code",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "",
|
|
"params": [
|
|
"context"
|
|
],
|
|
"returnType": "i32",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "failed",
|
|
"owner": "",
|
|
"params": [
|
|
"context",
|
|
"code",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "frame",
|
|
"owner": "",
|
|
"params": [
|
|
"context",
|
|
"raw"
|
|
],
|
|
"returnType": "i32",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "plane",
|
|
"owner": "",
|
|
"params": [
|
|
"raw",
|
|
"index",
|
|
"rows",
|
|
"columns"
|
|
],
|
|
"returnType": "Result<&'a [u8], CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "convert",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<BoxVideoBuffer, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "copy_plane",
|
|
"owner": "",
|
|
"params": [
|
|
"input",
|
|
"stride",
|
|
"output",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "NativeFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"format",
|
|
"width",
|
|
"height",
|
|
"rotation",
|
|
"color_matrix",
|
|
"color_range",
|
|
"timestamp_us",
|
|
"age_us",
|
|
"planes",
|
|
"lengths",
|
|
"strides"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "Callbacks",
|
|
"methods": [],
|
|
"properties": [
|
|
"context",
|
|
"cancelled",
|
|
"frame",
|
|
"failed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "CallbackState",
|
|
"methods": [],
|
|
"properties": [
|
|
"cancellation",
|
|
"observer_cancellation",
|
|
"observer"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "CameraLease",
|
|
"methods": [
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"ptr::NonNull"
|
|
]
|
|
},
|
|
{
|
|
"source": "libwebrtc::video_frame",
|
|
"specifiers": [
|
|
"BoxVideoBuffer",
|
|
"I420Buffer",
|
|
"NV12Buffer",
|
|
"VideoFrame",
|
|
"VideoRotation"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::media::stream::capture",
|
|
"specifiers": [
|
|
"CaptureCancellation",
|
|
"CaptureDescriptor",
|
|
"CaptureError",
|
|
"CaptureKind",
|
|
"CaptureLease",
|
|
"CaptureObserver",
|
|
"CaptureOptions"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"enumerate",
|
|
"start"
|
|
],
|
|
"totalLines": 306,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/camera/apple.mm": {
|
|
"filePath": "native/src/platform/camera/apple.mm",
|
|
"contentHash": "ec6628465ef6bbd02f1ab7d354035ce8b44be88b08314c32fd18d26ae617cb8a",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 326,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/camera/camera.h": {
|
|
"filePath": "native/src/platform/camera/camera.h",
|
|
"contentHash": "3ed0d7a29b6a85bfb317c9c8fa111523e6edef1835d0319adcfd6079e3d09c50",
|
|
"functions": [
|
|
{
|
|
"name": "tp_camera_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error",
|
|
"length",
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "TpCameraFrame",
|
|
"methods": [],
|
|
"properties": [
|
|
"format",
|
|
"color_matrix",
|
|
"timestamp_us",
|
|
"planes",
|
|
"lengths"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "TpCameraCallbacks",
|
|
"methods": [
|
|
"(*cancelled)",
|
|
"(*frame)",
|
|
"(*failed)"
|
|
],
|
|
"properties": [
|
|
"context"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "cstddef",
|
|
"specifiers": [
|
|
"cstddef"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdint",
|
|
"specifiers": [
|
|
"cstdint"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdio",
|
|
"specifiers": [
|
|
"cstdio"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"TpCameraFrame",
|
|
"(*cancelled)",
|
|
"(*frame)",
|
|
"(*failed)",
|
|
"TpCameraCallbacks",
|
|
"tp_camera_error"
|
|
],
|
|
"totalLines": 34,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/camera/linux.cpp": {
|
|
"filePath": "native/src/platform/camera/linux.cpp",
|
|
"contentHash": "d62dbadaa8e33705bba233ffc441d0e6da3f94d078d6c7943290a04369b100ad",
|
|
"functions": [
|
|
{
|
|
"name": "devices",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "std::vector<Device>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "",
|
|
"params": [
|
|
"fd",
|
|
"request",
|
|
"value"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "now_us",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "int64_t",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "~Camera",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fail",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "initialize_buffer",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"buffer",
|
|
"planes"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "queue",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"index"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 83
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Device",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"number",
|
|
"inode",
|
|
"changed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Plane",
|
|
"methods": [],
|
|
"properties": [
|
|
"address",
|
|
"length"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Mapping",
|
|
"methods": [],
|
|
"properties": [
|
|
"planes",
|
|
"count"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Camera",
|
|
"methods": [
|
|
"~Camera",
|
|
"release",
|
|
"cancelled",
|
|
"fail",
|
|
"initialize_buffer",
|
|
"queue",
|
|
"run"
|
|
],
|
|
"properties": [
|
|
"fd",
|
|
"device",
|
|
"callbacks",
|
|
"stopped",
|
|
"worker",
|
|
"type",
|
|
"mappings",
|
|
"streaming",
|
|
"width",
|
|
"color_matrix",
|
|
"plane_count"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 123
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "camera.h",
|
|
"specifiers": [
|
|
"camera.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "linux/videodev2.h",
|
|
"specifiers": [
|
|
"linux/videodev2.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys/ioctl.h",
|
|
"specifiers": [
|
|
"sys/ioctl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys/mman.h",
|
|
"specifiers": [
|
|
"sys/mman.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys/stat.h",
|
|
"specifiers": [
|
|
"sys/stat.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys/sysmacros.h",
|
|
"specifiers": [
|
|
"sys/sysmacros.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "poll.h",
|
|
"specifiers": [
|
|
"poll.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "fcntl.h",
|
|
"specifiers": [
|
|
"fcntl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "unistd.h",
|
|
"specifiers": [
|
|
"unistd.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "time.h",
|
|
"specifiers": [
|
|
"time.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "atomic",
|
|
"specifiers": [
|
|
"atomic"
|
|
]
|
|
},
|
|
{
|
|
"source": "cerrno",
|
|
"specifiers": [
|
|
"cerrno"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstring",
|
|
"specifiers": [
|
|
"cstring"
|
|
]
|
|
},
|
|
{
|
|
"source": "filesystem",
|
|
"specifiers": [
|
|
"filesystem"
|
|
]
|
|
},
|
|
{
|
|
"source": "fstream",
|
|
"specifiers": [
|
|
"fstream"
|
|
]
|
|
},
|
|
{
|
|
"source": "memory",
|
|
"specifiers": [
|
|
"memory"
|
|
]
|
|
},
|
|
{
|
|
"source": "string",
|
|
"specifiers": [
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"source": "thread",
|
|
"specifiers": [
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "vector",
|
|
"specifiers": [
|
|
"vector"
|
|
]
|
|
},
|
|
{
|
|
"source": "algorithm",
|
|
"specifiers": [
|
|
"algorithm"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Device",
|
|
"devices",
|
|
"control",
|
|
"now_us",
|
|
"Plane",
|
|
"Mapping",
|
|
"~Camera",
|
|
"release",
|
|
"cancelled",
|
|
"fail",
|
|
"initialize_buffer",
|
|
"queue",
|
|
"run",
|
|
"Camera"
|
|
],
|
|
"totalLines": 314,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/camera/windows.cpp": {
|
|
"filePath": "native/src/platform/camera/windows.cpp",
|
|
"contentHash": "9bade49d0530961137929d87dec4b5693e112bf2a87c7213fc3e1dc0fc516625",
|
|
"functions": [
|
|
{
|
|
"name": "require",
|
|
"owner": "",
|
|
"params": [
|
|
"status",
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Runtime",
|
|
"owner": "Runtime",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "~Runtime",
|
|
"owner": "Runtime",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "utf8",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "std::string",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "attribute",
|
|
"owner": "",
|
|
"params": [
|
|
"object",
|
|
"key"
|
|
],
|
|
"returnType": "std::string",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Activations",
|
|
"owner": "Activations",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "~Activations",
|
|
"owner": "Activations",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "qpc_us",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "int64_t",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ReaderCallback",
|
|
"owner": "ReaderCallback",
|
|
"params": [
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "QueryInterface",
|
|
"owner": "ReaderCallback",
|
|
"params": [
|
|
"iid",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "AddRef",
|
|
"owner": "ReaderCallback",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"owner": "ReaderCallback",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OnReadSample",
|
|
"owner": "ReaderCallback",
|
|
"params": [
|
|
"status",
|
|
"flags",
|
|
"timestamp",
|
|
"sample"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "OnFlush",
|
|
"owner": "ReaderCallback",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OnEvent",
|
|
"owner": "ReaderCallback",
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "~Camera",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "Camera",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ready_with",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"status",
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "read_format",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"reader"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "deliver",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"sample",
|
|
"timestamp"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "Camera",
|
|
"params": [
|
|
"id",
|
|
"requested_width",
|
|
"requested_height",
|
|
"fps"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 104
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Failure",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Runtime",
|
|
"methods": [
|
|
"Runtime",
|
|
"~Runtime"
|
|
],
|
|
"properties": [
|
|
"com"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Activations",
|
|
"methods": [
|
|
"Activations",
|
|
"~Activations"
|
|
],
|
|
"properties": [
|
|
"items",
|
|
"count"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Pending",
|
|
"methods": [],
|
|
"properties": [
|
|
"mutex",
|
|
"changed",
|
|
"available",
|
|
"status",
|
|
"flags",
|
|
"timestamp",
|
|
"sample"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ReaderCallback",
|
|
"methods": [
|
|
"ReaderCallback",
|
|
"QueryInterface",
|
|
"AddRef",
|
|
"Release",
|
|
"OnReadSample",
|
|
"OnFlush",
|
|
"OnEvent"
|
|
],
|
|
"properties": [
|
|
"references",
|
|
"pending",
|
|
"STDMETHODCALLTYPE",
|
|
"STDMETHODCALLTYPE",
|
|
"STDMETHODCALLTYPE",
|
|
"STDMETHODCALLTYPE",
|
|
"STDMETHODCALLTYPE",
|
|
"STDMETHODCALLTYPE"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "Camera",
|
|
"methods": [
|
|
"~Camera",
|
|
"cancelled",
|
|
"ready_with",
|
|
"read_format",
|
|
"deliver",
|
|
"run"
|
|
],
|
|
"properties": [
|
|
"callbacks",
|
|
"stopped",
|
|
"worker",
|
|
"pending",
|
|
"initialization",
|
|
"initialized",
|
|
"ready",
|
|
"start_error",
|
|
"start_message",
|
|
"width",
|
|
"color_matrix",
|
|
"stride",
|
|
"stream_origin_us"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 202
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "camera.h",
|
|
"specifiers": [
|
|
"camera.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows.h",
|
|
"specifiers": [
|
|
"windows.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "mfapi.h",
|
|
"specifiers": [
|
|
"mfapi.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "mfidl.h",
|
|
"specifiers": [
|
|
"mfidl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "mfreadwrite.h",
|
|
"specifiers": [
|
|
"mfreadwrite.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "mferror.h",
|
|
"specifiers": [
|
|
"mferror.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "wrl/client.h",
|
|
"specifiers": [
|
|
"wrl/client.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "atomic",
|
|
"specifiers": [
|
|
"atomic"
|
|
]
|
|
},
|
|
{
|
|
"source": "condition_variable",
|
|
"specifiers": [
|
|
"condition_variable"
|
|
]
|
|
},
|
|
{
|
|
"source": "memory",
|
|
"specifiers": [
|
|
"memory"
|
|
]
|
|
},
|
|
{
|
|
"source": "mutex",
|
|
"specifiers": [
|
|
"mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "thread",
|
|
"specifiers": [
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "string",
|
|
"specifiers": [
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"source": "vector",
|
|
"specifiers": [
|
|
"vector"
|
|
]
|
|
},
|
|
{
|
|
"source": "limits",
|
|
"specifiers": [
|
|
"limits"
|
|
]
|
|
},
|
|
{
|
|
"source": "chrono",
|
|
"specifiers": [
|
|
"chrono"
|
|
]
|
|
},
|
|
{
|
|
"source": "cmath",
|
|
"specifiers": [
|
|
"cmath"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Failure",
|
|
"require",
|
|
"Runtime",
|
|
"~Runtime",
|
|
"Runtime",
|
|
"utf8",
|
|
"attribute",
|
|
"Activations",
|
|
"~Activations",
|
|
"Activations",
|
|
"qpc_us",
|
|
"Pending",
|
|
"ReaderCallback",
|
|
"QueryInterface",
|
|
"AddRef",
|
|
"Release",
|
|
"OnReadSample",
|
|
"OnFlush",
|
|
"OnEvent",
|
|
"ReaderCallback",
|
|
"~Camera",
|
|
"cancelled",
|
|
"ready_with",
|
|
"read_format",
|
|
"deliver",
|
|
"run",
|
|
"Camera"
|
|
],
|
|
"totalLines": 343,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop.rs": {
|
|
"filePath": "native/src/platform/desktop.rs",
|
|
"contentHash": "d24a683d47fc40619f8a5894bff307009e1d85896431d30ddae7bc413d641dc2",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "Notification",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_external",
|
|
"owner": "",
|
|
"params": [
|
|
"link",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "open_document",
|
|
"owner": "",
|
|
"params": [
|
|
"document",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"directory",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open_logs",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "reveal_document",
|
|
"owner": "",
|
|
"params": [
|
|
"document",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "clipboard",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static Mutex<Option<arboard::Clipboard>>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "clipboard_write",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "clipboard_read",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "",
|
|
"params": [
|
|
"notification",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "autostart",
|
|
"owner": "",
|
|
"params": [
|
|
"enabled",
|
|
"installed",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "autostart_enabled",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "system_appearance",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<SystemAppearance>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "emit_appearance",
|
|
"owner": "",
|
|
"params": [
|
|
"generation",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Notification",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"action",
|
|
"title",
|
|
"body"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "SystemAppearance",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"dark",
|
|
"text_scale",
|
|
"reduce_motion",
|
|
"high_contrast",
|
|
"screen_reader"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::connections::SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"Mutex",
|
|
"LazyLock"
|
|
]
|
|
},
|
|
{
|
|
"source": "linux as os",
|
|
"specifiers": [
|
|
"linux as os"
|
|
]
|
|
},
|
|
{
|
|
"source": "native as os",
|
|
"specifiers": [
|
|
"native as os"
|
|
]
|
|
},
|
|
{
|
|
"source": "documents",
|
|
"specifiers": [
|
|
"pick"
|
|
]
|
|
},
|
|
{
|
|
"source": "window",
|
|
"specifiers": [
|
|
"attach",
|
|
"DesktopHandle",
|
|
"DesktopLease",
|
|
"HideMode",
|
|
"TrayIcon",
|
|
"WindowAction",
|
|
"WindowPlacement"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"error",
|
|
"Notification",
|
|
"SystemAppearance",
|
|
"open_external",
|
|
"open_document",
|
|
"open_directory",
|
|
"open_logs",
|
|
"reveal_document",
|
|
"clipboard_write",
|
|
"clipboard_read",
|
|
"notify",
|
|
"autostart",
|
|
"autostart_enabled",
|
|
"system_appearance"
|
|
],
|
|
"totalLines": 135,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/documents.rs": {
|
|
"filePath": "native/src/platform/desktop/documents.rs",
|
|
"contentHash": "87bd0d43fb1bfa85812426a514254d15c8fc705cdc3e783cced40291c8e99c3e",
|
|
"functions": [
|
|
{
|
|
"name": "regular",
|
|
"owner": "",
|
|
"params": [
|
|
"file"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "same",
|
|
"owner": "",
|
|
"params": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "safe_name",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "restore_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "downloads_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "private_staging",
|
|
"owner": "",
|
|
"params": [
|
|
"directory"
|
|
],
|
|
"returnType": "Result<Staging<'_>>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "publish",
|
|
"owner": "",
|
|
"params": [
|
|
"stage",
|
|
"name",
|
|
"replace"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "cancelled_commit",
|
|
"owner": "",
|
|
"params": [
|
|
"cancelled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selected",
|
|
"owner": "Directory",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Arc<Self>>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "from_handle",
|
|
"owner": "Directory",
|
|
"params": [
|
|
"dir",
|
|
"path"
|
|
],
|
|
"returnType": "Result<Arc<Self>>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "checked_path",
|
|
"owner": "Directory",
|
|
"params": [],
|
|
"returnType": "Result<&Path>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "document",
|
|
"owner": "Directory",
|
|
"params": [
|
|
"name",
|
|
"write",
|
|
"overwrite"
|
|
],
|
|
"returnType": "Result<Arc<Document>>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "child",
|
|
"owner": null,
|
|
"params": [
|
|
"name",
|
|
"overwrite"
|
|
],
|
|
"returnType": "Result<Arc<dyn DocumentGrant>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": null,
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<Arc<dyn DirectoryGrant>>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "selected",
|
|
"owner": "Document",
|
|
"params": [
|
|
"path",
|
|
"writable"
|
|
],
|
|
"returnType": "Result<Arc<Self>>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "checked_path",
|
|
"owner": "Document",
|
|
"params": [],
|
|
"returnType": "Result<&Path>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "Document",
|
|
"params": [
|
|
"write",
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "as_any",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&dyn std::any::Any",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_name",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "size",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Option<u64>>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open_read",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_write",
|
|
"owner": null,
|
|
"params": [
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commit_from",
|
|
"owner": null,
|
|
"params": [
|
|
"source",
|
|
"cancelled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "extensions",
|
|
"owner": "",
|
|
"params": [
|
|
"mime"
|
|
],
|
|
"returnType": "&'static [&'static str]",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"owner": "",
|
|
"params": [
|
|
"request",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Option<Selection>>",
|
|
"exported": true,
|
|
"lineCount": 32
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Directory",
|
|
"methods": [
|
|
"selected",
|
|
"from_handle",
|
|
"checked_path",
|
|
"document",
|
|
"as_any",
|
|
"display_name",
|
|
"child",
|
|
"directory"
|
|
],
|
|
"properties": [
|
|
"dir",
|
|
"path",
|
|
"name",
|
|
"identity"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Document",
|
|
"methods": [
|
|
"selected",
|
|
"checked_path",
|
|
"open",
|
|
"as_any",
|
|
"display_name",
|
|
"size",
|
|
"open_read",
|
|
"open_write",
|
|
"commit_from"
|
|
],
|
|
"properties": [
|
|
"directory",
|
|
"path",
|
|
"name",
|
|
"writable",
|
|
"file"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Staging",
|
|
"methods": [],
|
|
"properties": [
|
|
"directory",
|
|
"name",
|
|
"file"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"error",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::resources",
|
|
"specifiers": [
|
|
"self",
|
|
"ActionPolicy",
|
|
"DirectoryGrant",
|
|
"DocumentGrant",
|
|
"PickRequest",
|
|
"Selection"
|
|
]
|
|
},
|
|
{
|
|
"source": "cap_std::fs",
|
|
"specifiers": [
|
|
"Dir",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "cap_fs_ext",
|
|
"specifiers": [
|
|
"DirExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs::File"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Directory",
|
|
"Document",
|
|
"restore_directory",
|
|
"downloads_directory",
|
|
"selected",
|
|
"checked_path",
|
|
"selected",
|
|
"checked_path",
|
|
"pick"
|
|
],
|
|
"totalLines": 393,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/hotkeys.rs": {
|
|
"filePath": "native/src/platform/desktop/hotkeys.rs",
|
|
"contentHash": "c8ef8aeb941ef61bca9ba1507039c9091ad686b5209d61b3b34bd6442c7230ba",
|
|
"functions": [
|
|
{
|
|
"name": "start",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "Hotkeys",
|
|
"params": [],
|
|
"returnType": "Option<&serde_json::Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_desktop_hotkey_event",
|
|
"owner": "",
|
|
"params": [
|
|
"token",
|
|
"id",
|
|
"down"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ui",
|
|
"owner": "",
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<usize>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "Hotkeys",
|
|
"params": [],
|
|
"returnType": "Option<&serde_json::Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "Hotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unregister",
|
|
"owner": "Hotkeys",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "keycode",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "Option<u32>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Hotkeys",
|
|
"methods": [
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop",
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop",
|
|
"unregister",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"inner",
|
|
"policy"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Queue",
|
|
"methods": [],
|
|
"properties": [
|
|
"sender",
|
|
"overflow"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PendingRegistration",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"token",
|
|
"free",
|
|
"armed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Hotkeys",
|
|
"methods": [
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop",
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop",
|
|
"unregister",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"token",
|
|
"next_binding",
|
|
"events",
|
|
"overflow",
|
|
"variants",
|
|
"held",
|
|
"status",
|
|
"policy",
|
|
"stopped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"error",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"platform::resources::ActionPolicy"
|
|
]
|
|
},
|
|
{
|
|
"source": "mac",
|
|
"specifiers": [
|
|
"Hotkeys"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Hotkeys",
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop",
|
|
"Hotkeys",
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"status",
|
|
"stop"
|
|
],
|
|
"totalLines": 76,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/linux.rs": {
|
|
"filePath": "native/src/platform/desktop/linux.rs",
|
|
"contentHash": "78614015e4399980ad0d3158e07a1706626777d07a098bdba7b1f70ba07598df",
|
|
"functions": [
|
|
{
|
|
"name": "dbus",
|
|
"owner": "",
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "crate::services::ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "session",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<Connection>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "setting",
|
|
"owner": "",
|
|
"params": [
|
|
"connection",
|
|
"namespace",
|
|
"key"
|
|
],
|
|
"returnType": "Result<OwnedValue>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "appearance_on",
|
|
"owner": "",
|
|
"params": [
|
|
"connection"
|
|
],
|
|
"returnType": "Result<SystemAppearance>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "appearance",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<SystemAppearance>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "locked",
|
|
"owner": "",
|
|
"params": [
|
|
"connection"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Observer",
|
|
"params": [
|
|
"_",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "lock_observer",
|
|
"owner": "Observer",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"owner": "",
|
|
"params": [
|
|
"count"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "title",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "icon_pixmap",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Vec<ksni::Icon>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "activate",
|
|
"owner": null,
|
|
"params": [
|
|
"_",
|
|
"_"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "menu",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Vec<ksni::MenuItem<Self>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "watcher_offline",
|
|
"owner": null,
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Tray",
|
|
"params": [
|
|
"icon",
|
|
"show",
|
|
"quit",
|
|
"callback"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_available",
|
|
"owner": "Tray",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reveal",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "",
|
|
"params": [
|
|
"notification"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "autostart_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"create"
|
|
],
|
|
"returnType": "Result<Option<cap_std::fs::Dir>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "owns_autostart",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enabled_sync",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "autostart_enabled",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "autostart",
|
|
"owner": "",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Observer",
|
|
"methods": [
|
|
"new",
|
|
"lock_observer",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"stop",
|
|
"lock",
|
|
"lock_status"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Item",
|
|
"methods": [
|
|
"id",
|
|
"title",
|
|
"icon_pixmap",
|
|
"activate",
|
|
"menu",
|
|
"watcher_offline"
|
|
],
|
|
"properties": [
|
|
"icon",
|
|
"show",
|
|
"quit",
|
|
"callback"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Tray",
|
|
"methods": [
|
|
"new",
|
|
"is_available",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationSlot",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"error",
|
|
"emit_appearance",
|
|
"Notification",
|
|
"SystemAppearance",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::window",
|
|
"specifiers": [
|
|
"TrayIcon"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::lifecycle",
|
|
"specifiers": [
|
|
"self",
|
|
"PlatformEvent"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "zbus",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"appearance",
|
|
"Observer",
|
|
"new",
|
|
"lock_observer",
|
|
"unread",
|
|
"Tray",
|
|
"new",
|
|
"is_available",
|
|
"reveal",
|
|
"notify",
|
|
"autostart_enabled",
|
|
"autostart"
|
|
],
|
|
"totalLines": 122,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/macos.mm": {
|
|
"filePath": "native/src/platform/desktop/macos.mm",
|
|
"contentHash": "4a971bd04f1ff2094eca77741a40a823c8b4750ee62acc95adf87655773211dc",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 97,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/desktop/native.rs": {
|
|
"filePath": "native/src/platform/desktop/native.rs",
|
|
"contentHash": "51c2a2703b2f21290a3389fcca682e26c1ed3d700918b3bdcea8a866da048a9d",
|
|
"functions": [
|
|
{
|
|
"name": "downloads_path",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<std::path::PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<CString>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"operation"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_ui",
|
|
"owner": "",
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Observer",
|
|
"params": [
|
|
"window",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "lock_observer",
|
|
"owner": "Observer",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"owner": "Observer",
|
|
"params": [
|
|
"count"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_desktop_system_event",
|
|
"owner": "",
|
|
"params": [
|
|
"generation",
|
|
"kind",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "appearance_sync",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<SystemAppearance>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "appearance",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<SystemAppearance>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "token",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Tray",
|
|
"params": [
|
|
"icon",
|
|
"show",
|
|
"quit",
|
|
"callback"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_available",
|
|
"owner": "Tray",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_desktop_tray_action",
|
|
"owner": "",
|
|
"params": [
|
|
"token",
|
|
"quit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tp_desktop_notification_event",
|
|
"owner": "",
|
|
"params": [
|
|
"token",
|
|
"kind",
|
|
"code"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "autostart",
|
|
"owner": "",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "autostart_enabled",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reveal",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Appearance",
|
|
"methods": [],
|
|
"properties": [
|
|
"dark",
|
|
"text_scale",
|
|
"reduce_motion",
|
|
"high_contrast",
|
|
"screen_reader"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Observer",
|
|
"methods": [
|
|
"new",
|
|
"lock_observer",
|
|
"unread",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Tray",
|
|
"methods": [
|
|
"new",
|
|
"drop",
|
|
"is_available"
|
|
],
|
|
"properties": [
|
|
"pointer",
|
|
"token"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PendingNotification",
|
|
"methods": [],
|
|
"properties": [
|
|
"value",
|
|
"ack"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"error",
|
|
"emit_appearance",
|
|
"Notification",
|
|
"SystemAppearance",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::window",
|
|
"specifiers": [
|
|
"TrayIcon"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform::lifecycle",
|
|
"specifiers": [
|
|
"self",
|
|
"PlatformEvent"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"path::Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint::winit_030::winit",
|
|
"specifiers": [
|
|
"self"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"downloads_path",
|
|
"Observer",
|
|
"new",
|
|
"lock_observer",
|
|
"unread",
|
|
"appearance",
|
|
"Tray",
|
|
"new",
|
|
"is_available",
|
|
"notify",
|
|
"autostart",
|
|
"autostart_enabled",
|
|
"reveal"
|
|
],
|
|
"totalLines": 74,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/window.rs": {
|
|
"filePath": "native/src/platform/desktop/window.rs",
|
|
"contentHash": "c697448971f0ce89cee8e9d6688132469658378633d1632eb99f001aa99571d5",
|
|
"functions": [
|
|
{
|
|
"name": "validate",
|
|
"owner": "TrayIcon",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "DesktopLease",
|
|
"params": [],
|
|
"returnType": "DesktopHandle",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "show",
|
|
"owner": "",
|
|
"params": [
|
|
"window"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture_physical_keys",
|
|
"owner": "DesktopHandle",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "DesktopHandle",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 45
|
|
},
|
|
{
|
|
"name": "tray_callback",
|
|
"owner": "",
|
|
"params": [
|
|
"owner"
|
|
],
|
|
"returnType": "Arc<dyn Fn(bool)+Send+Sync>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "restore",
|
|
"owner": "",
|
|
"params": [
|
|
"window",
|
|
"value"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "placement",
|
|
"owner": "",
|
|
"params": [
|
|
"window",
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attach",
|
|
"owner": "",
|
|
"params": [
|
|
"window",
|
|
"generation",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<DesktopLease>",
|
|
"exported": true,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "physical_code",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "HideMode",
|
|
"methods": [],
|
|
"properties": [
|
|
"Never",
|
|
"Minimize",
|
|
"Close",
|
|
"Both"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WindowPlacement",
|
|
"methods": [],
|
|
"properties": [
|
|
"x",
|
|
"y",
|
|
"width",
|
|
"height",
|
|
"maximized"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TrayIcon",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"rgba",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WindowAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Show",
|
|
"Minimize",
|
|
"Maximize",
|
|
"Fullscreen",
|
|
"AlwaysOnTop",
|
|
"Attention",
|
|
"Restore",
|
|
"Unread",
|
|
"LockObserver",
|
|
"Tray"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"window",
|
|
"native",
|
|
"tray",
|
|
"hide"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DesktopHandle",
|
|
"methods": [
|
|
"capture_physical_keys",
|
|
"action"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"policy",
|
|
"alive",
|
|
"capture"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DesktopLease",
|
|
"methods": [
|
|
"handle",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"_ui_thread"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"error",
|
|
"os",
|
|
"Result"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::platform",
|
|
"specifiers": [
|
|
"resources::ActionPolicy"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint::winit_030",
|
|
"specifiers": [
|
|
"EventResult",
|
|
"WinitWindowAccessor"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::HashMap",
|
|
"marker::PhantomData",
|
|
"rc::Rc"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"HideMode",
|
|
"WindowPlacement",
|
|
"TrayIcon",
|
|
"validate",
|
|
"WindowAction",
|
|
"DesktopHandle",
|
|
"DesktopLease",
|
|
"handle",
|
|
"capture_physical_keys",
|
|
"action",
|
|
"attach"
|
|
],
|
|
"totalLines": 130,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/windows.cpp": {
|
|
"filePath": "native/src/platform/desktop/windows.cpp",
|
|
"contentHash": "20d7065d86c354f880a5512701dc21b2bfc7aef6b4fc2735d05d94f8207fef31",
|
|
"functions": [
|
|
{
|
|
"name": "wide",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "std::wstring",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "rgba_icon",
|
|
"owner": "",
|
|
"params": [
|
|
"rgba",
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "HICON",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "remove_tray",
|
|
"owner": "",
|
|
"params": [
|
|
"tray"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "observer_proc",
|
|
"owner": "CALLBACK",
|
|
"params": [
|
|
"hwnd",
|
|
"msg",
|
|
"w",
|
|
"l"
|
|
],
|
|
"returnType": "LRESULT",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "tray_proc",
|
|
"owner": "CALLBACK",
|
|
"params": [
|
|
"hwnd",
|
|
"msg",
|
|
"w",
|
|
"l"
|
|
],
|
|
"returnType": "LRESULT",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "sink",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"proc",
|
|
"context"
|
|
],
|
|
"returnType": "HWND",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "registry_dword",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"name",
|
|
"fallback"
|
|
],
|
|
"returnType": "DWORD",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "add_tray",
|
|
"owner": "",
|
|
"params": [
|
|
"tray"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "owner_descriptor",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor"
|
|
],
|
|
"returnType": "DWORD",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Appearance",
|
|
"methods": [],
|
|
"properties": [
|
|
"dark",
|
|
"text_scale",
|
|
"reduce_motion"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Observer",
|
|
"methods": [],
|
|
"properties": [
|
|
"sink",
|
|
"generation",
|
|
"lock"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Tray",
|
|
"methods": [],
|
|
"properties": [
|
|
"sink",
|
|
"icon",
|
|
"token",
|
|
"show",
|
|
"available"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "windows.h",
|
|
"specifiers": [
|
|
"windows.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "winternl.h",
|
|
"specifiers": [
|
|
"winternl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "shellapi.h",
|
|
"specifiers": [
|
|
"shellapi.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "shlobj.h",
|
|
"specifiers": [
|
|
"shlobj.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "shobjidl.h",
|
|
"specifiers": [
|
|
"shobjidl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "wtsapi32.h",
|
|
"specifiers": [
|
|
"wtsapi32.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "sddl.h",
|
|
"specifiers": [
|
|
"sddl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdlib",
|
|
"specifiers": [
|
|
"cstdlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstddef",
|
|
"specifiers": [
|
|
"cstddef"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdint",
|
|
"specifiers": [
|
|
"cstdint"
|
|
]
|
|
},
|
|
{
|
|
"source": "string",
|
|
"specifiers": [
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"source": "vector",
|
|
"specifiers": [
|
|
"vector"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Appearance",
|
|
"Observer",
|
|
"Tray"
|
|
],
|
|
"totalLines": 120,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/desktop/windows_toast.cpp": {
|
|
"filePath": "native/src/platform/desktop/windows_toast.cpp",
|
|
"contentHash": "aee58f093b8155d3a7ee48ed9b3b86f355659ea90b8759c049746fb6b9a44f38",
|
|
"functions": [
|
|
{
|
|
"name": "~Toast",
|
|
"owner": "Toast",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "escaped",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "std::wstring",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "show_toast",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"token",
|
|
"title",
|
|
"body"
|
|
],
|
|
"returnType": "HRESULT",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Toast",
|
|
"methods": [
|
|
"~Toast"
|
|
],
|
|
"properties": [
|
|
"item",
|
|
"notifier",
|
|
"activated",
|
|
"runtime"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "windows.h",
|
|
"specifiers": [
|
|
"windows.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "roapi.h",
|
|
"specifiers": [
|
|
"roapi.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows.ui.notifications.h",
|
|
"specifiers": [
|
|
"windows.ui.notifications.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows.data.xml.dom.h",
|
|
"specifiers": [
|
|
"windows.data.xml.dom.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "wrl.h",
|
|
"specifiers": [
|
|
"wrl.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "wrl/wrappers/corewrappers.h",
|
|
"specifiers": [
|
|
"wrl/wrappers/corewrappers.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdint",
|
|
"specifiers": [
|
|
"cstdint"
|
|
]
|
|
},
|
|
{
|
|
"source": "string",
|
|
"specifiers": [
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"source": "memory",
|
|
"specifiers": [
|
|
"memory"
|
|
]
|
|
},
|
|
{
|
|
"source": "unordered_map",
|
|
"specifiers": [
|
|
"unordered_map"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"~Toast",
|
|
"Toast"
|
|
],
|
|
"totalLines": 55,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/lifecycle.rs": {
|
|
"filePath": "native/src/platform/lifecycle.rs",
|
|
"contentHash": "d4e14352815d3ebda427cfd6c360d8212234834e4a3a54cbee6f09ac4a46fbeb",
|
|
"functions": [
|
|
{
|
|
"name": "on_event",
|
|
"owner": null,
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "registry",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static Mutex<Registry>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "subscribe",
|
|
"owner": "",
|
|
"params": [
|
|
"sink"
|
|
],
|
|
"returnType": "crate::services::Result<Subscription>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "",
|
|
"params": [
|
|
"event"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Permission",
|
|
"methods": [],
|
|
"properties": [
|
|
"Microphone",
|
|
"Camera",
|
|
"Notifications"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Insets",
|
|
"methods": [],
|
|
"properties": [
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"keyboard"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Show",
|
|
"Mute",
|
|
"Deafen",
|
|
"Disconnect",
|
|
"Conversation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PlatformEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Visibility",
|
|
"UiDestroyed",
|
|
"Insets",
|
|
"Accessibility",
|
|
"PictureInPicture",
|
|
"DesktopTheme",
|
|
"DesktopWindow",
|
|
"PhysicalKey",
|
|
"Focus",
|
|
"AudioInterruption",
|
|
"AudioRouteChanged",
|
|
"NetworkChanged",
|
|
"ScreenLocked",
|
|
"PermissionChanged",
|
|
"CallLeaseEnded",
|
|
"Notification",
|
|
"MemoryPressure",
|
|
"Quit"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "PlatformEventSink",
|
|
"methods": [
|
|
"on_event"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Registered",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"sink"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Registry",
|
|
"methods": [],
|
|
"properties": [
|
|
"next",
|
|
"current"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Subscription",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"_sink"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"Mutex",
|
|
"OnceLock",
|
|
"Weak"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Permission",
|
|
"Insets",
|
|
"NotificationAction",
|
|
"PlatformEvent",
|
|
"PlatformEventSink",
|
|
"Subscription",
|
|
"subscribe",
|
|
"emit"
|
|
],
|
|
"totalLines": 53,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture.rs": {
|
|
"filePath": "native/src/platform/mobile_capture.rs",
|
|
"contentHash": "91e90d71921d792d0addf643a9e50027d966d0f4f22bb5039dac66cbc42b5906",
|
|
"functions": [
|
|
{
|
|
"name": "enumerate",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Vec<CaptureDescriptor>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "application_audio_sources",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(Vec<(String, String)>, String), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "crate::media::stream::capture",
|
|
"specifiers": [
|
|
"CaptureDescriptor",
|
|
"CaptureError",
|
|
"CaptureKind",
|
|
"CaptureLease",
|
|
"CaptureObserver",
|
|
"CaptureOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "android",
|
|
"specifiers": [
|
|
"install"
|
|
]
|
|
},
|
|
{
|
|
"source": "apple",
|
|
"specifiers": [
|
|
"screen_capability",
|
|
"suspend"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"enumerate",
|
|
"application_audio_sources",
|
|
"start"
|
|
],
|
|
"totalLines": 53,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture/android.rs": {
|
|
"filePath": "native/src/platform/mobile_capture/android.rs",
|
|
"contentHash": "ed50889118f86b531a20f415f3aa5bf1d2c8131961c0bd03b0812b563d120637",
|
|
"functions": [
|
|
{
|
|
"name": "captures",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static Mutex<HashMap<u64, CaptureObserver>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "CaptureError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "install",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"application"
|
|
],
|
|
"returnType": "Result<(), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "bridge",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<&'static Bridge, CaptureError>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "class",
|
|
"owner": "",
|
|
"params": [
|
|
"bridge"
|
|
],
|
|
"returnType": "&JClass<'_>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enumerate",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "Result<Vec<CaptureDescriptor>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "application_audio_sources",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(Vec<(String, String)>, String), CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "observer",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<CaptureObserver>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"buffer"
|
|
],
|
|
"returnType": "Option<&'a [u8]>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeActive",
|
|
"owner": "",
|
|
"params": [
|
|
"_env",
|
|
"_class",
|
|
"id"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeEnded",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeRgba",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"buffer",
|
|
"width",
|
|
"height",
|
|
"stride",
|
|
"timestamp",
|
|
"age_ns"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeYuv",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"y",
|
|
"u",
|
|
"v",
|
|
"width",
|
|
"height",
|
|
"sy",
|
|
"su",
|
|
"sv",
|
|
"pu",
|
|
"pv",
|
|
"rotation",
|
|
"timestamp",
|
|
"age_ns"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeAudio",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"_class",
|
|
"id",
|
|
"buffer",
|
|
"age_ns"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Bridge",
|
|
"methods": [],
|
|
"properties": [
|
|
"vm",
|
|
"class"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Lease",
|
|
"methods": [
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"stopped",
|
|
"worker"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni",
|
|
"specifiers": [
|
|
"JNIEnv",
|
|
"JavaVM"
|
|
]
|
|
},
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::pixels",
|
|
"specifiers": [
|
|
"self",
|
|
"Plane"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"install",
|
|
"enumerate",
|
|
"application_audio_sources",
|
|
"start",
|
|
"Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeActive",
|
|
"Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeEnded",
|
|
"Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeRgba",
|
|
"Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeYuv",
|
|
"Java_dev_teamspeach_mobile_capture_CaptureBridge_nativeAudio"
|
|
],
|
|
"totalLines": 136,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture/apple.mm": {
|
|
"filePath": "native/src/platform/mobile_capture/apple.mm",
|
|
"contentHash": "c3ad6c58b01d5648e52999d0dbc10f2238b0d704e6c62a1b2f7a2be3dc197d4a",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 165,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/mobile_capture/apple.rs": {
|
|
"filePath": "native/src/platform/mobile_capture/apple.rs",
|
|
"contentHash": "9002e46edfc8c071afc02d4594d1fb06466dd73a927188ba6401ac567ccd0c92",
|
|
"functions": [
|
|
{
|
|
"name": "suspend",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "screen_capability",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<&'static str, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "",
|
|
"params": [
|
|
"descriptor",
|
|
"options",
|
|
"observer"
|
|
],
|
|
"returnType": "Result<Box<dyn CaptureLease>, CaptureError>",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "video",
|
|
"owner": "",
|
|
"params": [
|
|
"context",
|
|
"data",
|
|
"length",
|
|
"width",
|
|
"height",
|
|
"stride",
|
|
"format",
|
|
"rotation",
|
|
"range",
|
|
"matrix",
|
|
"timestamp",
|
|
"age"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"owner": "",
|
|
"params": [
|
|
"context",
|
|
"data",
|
|
"age"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Lease",
|
|
"methods": [
|
|
"stop",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"stop",
|
|
"worker"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ActiveGuard",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::pixels",
|
|
"specifiers": [
|
|
"self",
|
|
"Plane"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"suspend",
|
|
"screen_capability",
|
|
"start"
|
|
],
|
|
"totalLines": 95,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture/pixels.rs": {
|
|
"filePath": "native/src/platform/mobile_capture/pixels.rs",
|
|
"contentHash": "bbb8a3524f945580711eb790da2e5af2735f3816ae7050178c75c436e3d7918e",
|
|
"functions": [
|
|
{
|
|
"name": "valid",
|
|
"owner": "Plane<'_>",
|
|
"params": [
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "copy",
|
|
"owner": "Plane<'_>",
|
|
"params": [
|
|
"out",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "frame",
|
|
"owner": "",
|
|
"params": [
|
|
"buffer",
|
|
"rotation",
|
|
"timestamp_us",
|
|
"range",
|
|
"matrix"
|
|
],
|
|
"returnType": "Option<BoxVideoFrame>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "yuv",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"planes",
|
|
"rotation",
|
|
"timestamp_us",
|
|
"range",
|
|
"matrix"
|
|
],
|
|
"returnType": "Option<BoxVideoFrame>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "rgba",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"data",
|
|
"stride",
|
|
"bgra",
|
|
"timestamp_us"
|
|
],
|
|
"returnType": "Option<BoxVideoFrame>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Plane",
|
|
"methods": [],
|
|
"properties": [
|
|
"bytes",
|
|
"row",
|
|
"pixel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "libwebrtc::video_frame",
|
|
"specifiers": [
|
|
"BoxVideoFrame",
|
|
"I420Buffer",
|
|
"VideoBuffer",
|
|
"VideoFrame",
|
|
"VideoRotation"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Plane",
|
|
"yuv",
|
|
"rgba"
|
|
],
|
|
"totalLines": 56,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture/screen_capture_kit.h": {
|
|
"filePath": "native/src/platform/mobile_capture/screen_capture_kit.h",
|
|
"contentHash": "203f2e8ed2328e4d409d214db92b3620cea4fe9a2024b19a230a9e85d39c94d5",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "../../../../platform/ios/Broadcast/CaptureRing.h",
|
|
"specifiers": [
|
|
"../../../../platform/ios/Broadcast/CaptureRing.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "memory",
|
|
"specifiers": [
|
|
"memory"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 8,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/mobile_capture/screen_capture_kit.mm": {
|
|
"filePath": "native/src/platform/mobile_capture/screen_capture_kit.mm",
|
|
"contentHash": "2e82f7393eba0a0c1ca758445d404720d3c95a40700e6f2e36ea9e6f89b4f7da",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 171,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/platform/mod.rs": {
|
|
"filePath": "native/src/platform/mod.rs",
|
|
"contentHash": "63d97d7f69cffaa72b3a7e027de0240e4166c71142c2f0de8aeb3007ea99ad9f",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 13,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/resources.rs": {
|
|
"filePath": "native/src/platform/resources.rs",
|
|
"contentHash": "b260ad35efceae46b483cf84bcbad5d04e9d17fa51fc30f088c259c869a87080",
|
|
"functions": [
|
|
{
|
|
"name": "read",
|
|
"owner": "GrantedFile",
|
|
"params": [
|
|
"grant"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "write",
|
|
"owner": "GrantedFile",
|
|
"params": [
|
|
"grant",
|
|
"truncate"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "metadata",
|
|
"owner": "GrantedFile",
|
|
"params": [],
|
|
"returnType": "std::io::Result<std::fs::Metadata>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sync_all",
|
|
"owner": "GrantedFile",
|
|
"params": [],
|
|
"returnType": "std::io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read",
|
|
"owner": null,
|
|
"params": [
|
|
"buffer"
|
|
],
|
|
"returnType": "std::io::Result<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "write",
|
|
"owner": null,
|
|
"params": [
|
|
"buffer"
|
|
],
|
|
"returnType": "std::io::Result<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flush",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "std::io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "seek",
|
|
"owner": null,
|
|
"params": [
|
|
"position"
|
|
],
|
|
"returnType": "std::io::Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "ActionPolicy",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "require_component",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "DocumentGrant",
|
|
"methods": [
|
|
"as_any",
|
|
"display_name",
|
|
"size",
|
|
"open_read",
|
|
"open_write",
|
|
"commit_from"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "DirectoryGrant",
|
|
"methods": [
|
|
"as_any",
|
|
"display_name",
|
|
"child",
|
|
"directory"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "GrantedFile",
|
|
"methods": [
|
|
"read",
|
|
"write",
|
|
"metadata",
|
|
"sync_all",
|
|
"read",
|
|
"write",
|
|
"flush",
|
|
"seek"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"_grant"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Selection",
|
|
"methods": [],
|
|
"properties": [
|
|
"Document",
|
|
"Directory"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "PickRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"Open",
|
|
"Save",
|
|
"Directory"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ActionPolicy",
|
|
"methods": [
|
|
"check"
|
|
],
|
|
"properties": [
|
|
"allow_os_actions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs::File",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"DocumentGrant",
|
|
"DirectoryGrant",
|
|
"GrantedFile",
|
|
"read",
|
|
"write",
|
|
"metadata",
|
|
"sync_all",
|
|
"Selection",
|
|
"PickRequest",
|
|
"ActionPolicy",
|
|
"check",
|
|
"require_component"
|
|
],
|
|
"totalLines": 55,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/platform/secrets/android/NativeSecrets.java": {
|
|
"filePath": "native/src/platform/secrets/android/NativeSecrets.java",
|
|
"contentHash": "3cc19400b8410c185f8790210e63e4b37ac9bd424221a03cc94d601c83266eff",
|
|
"functions": [
|
|
{
|
|
"name": "NativeSecrets",
|
|
"params": [
|
|
"application"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "bindApplication",
|
|
"params": [
|
|
"application"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "nativeBind",
|
|
"params": [
|
|
"application"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"params": [
|
|
"create"
|
|
],
|
|
"returnType": "SecretKey",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"params": [
|
|
"plaintext"
|
|
],
|
|
"returnType": "byte[]",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "open",
|
|
"params": [
|
|
"ciphertext"
|
|
],
|
|
"returnType": "byte[]",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "NativeSecrets",
|
|
"methods": [
|
|
"NativeSecrets",
|
|
"bindApplication",
|
|
"nativeBind",
|
|
"key",
|
|
"seal",
|
|
"open"
|
|
],
|
|
"properties": [
|
|
"ALIAS",
|
|
"AAD",
|
|
"application"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 85
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.Application",
|
|
"specifiers": [
|
|
"Application"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.security.keystore.KeyGenParameterSpec",
|
|
"specifiers": [
|
|
"KeyGenParameterSpec"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.security.keystore.KeyProperties",
|
|
"specifiers": [
|
|
"KeyProperties"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.charset.StandardCharsets",
|
|
"specifiers": [
|
|
"StandardCharsets"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.security.GeneralSecurityException",
|
|
"specifiers": [
|
|
"GeneralSecurityException"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.security.Key",
|
|
"specifiers": [
|
|
"Key"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.security.KeyStore",
|
|
"specifiers": [
|
|
"KeyStore"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.Arrays",
|
|
"specifiers": [
|
|
"Arrays"
|
|
]
|
|
},
|
|
{
|
|
"source": "javax.crypto.Cipher",
|
|
"specifiers": [
|
|
"Cipher"
|
|
]
|
|
},
|
|
{
|
|
"source": "javax.crypto.KeyGenerator",
|
|
"specifiers": [
|
|
"KeyGenerator"
|
|
]
|
|
},
|
|
{
|
|
"source": "javax.crypto.SecretKey",
|
|
"specifiers": [
|
|
"SecretKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "javax.crypto.spec.GCMParameterSpec",
|
|
"specifiers": [
|
|
"GCMParameterSpec"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"bindApplication",
|
|
"seal",
|
|
"open",
|
|
"NativeSecrets"
|
|
],
|
|
"totalLines": 107,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/about.rs": {
|
|
"filePath": "native/src/services/about.rs",
|
|
"contentHash": "8c9170b24292b10732ccd2deb8c8693533d7bf9865958f48bf5fba0ce99a6922",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "parse_changelog",
|
|
"owner": "",
|
|
"params": [
|
|
"markdown"
|
|
],
|
|
"returnType": "Result<Vec<ChangelogEntry>>",
|
|
"exported": true,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "crate_repository",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"version",
|
|
"source"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "parse_core_notices",
|
|
"owner": "",
|
|
"params": [
|
|
"markdown"
|
|
],
|
|
"returnType": "Result<(String, Vec<NoticeEntry>)>",
|
|
"exported": false,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "bundled",
|
|
"owner": "AboutService",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "build_information",
|
|
"owner": "AboutService",
|
|
"params": [],
|
|
"returnType": "BuildInformation",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "changelog",
|
|
"owner": "AboutService",
|
|
"params": [],
|
|
"returnType": "&[ChangelogEntry]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "licenses",
|
|
"owner": "AboutService",
|
|
"params": [],
|
|
"returnType": "&[LicenseGroup]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "license_text",
|
|
"owner": "AboutService",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<LicenseText<'_>>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "BuildInformation",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"product",
|
|
"version",
|
|
"engine",
|
|
"slint_version",
|
|
"os",
|
|
"arch",
|
|
"repository",
|
|
"issues",
|
|
"releases"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ChangelogEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"date",
|
|
"qualifier",
|
|
"unreleased",
|
|
"notes",
|
|
"changes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "LicenseEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name",
|
|
"version",
|
|
"license",
|
|
"repository",
|
|
"no_license_file",
|
|
"source_file"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "SourceError",
|
|
"methods": [],
|
|
"properties": [
|
|
"code",
|
|
"file"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LicenseGroup",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"note",
|
|
"error",
|
|
"entries"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "LicenseText",
|
|
"methods": [],
|
|
"properties": [
|
|
"entry",
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NoticeEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"version",
|
|
"license",
|
|
"repository",
|
|
"texts"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "AboutService",
|
|
"methods": [
|
|
"bundled",
|
|
"build_information",
|
|
"changelog",
|
|
"licenses",
|
|
"license_text"
|
|
],
|
|
"properties": [
|
|
"changelog",
|
|
"groups",
|
|
"texts"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "regex",
|
|
"specifiers": [
|
|
"Regex"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"BuildInformation",
|
|
"ChangelogEntry",
|
|
"parse_changelog",
|
|
"LicenseEntry",
|
|
"SourceError",
|
|
"LicenseGroup",
|
|
"LicenseText",
|
|
"AboutService",
|
|
"bundled",
|
|
"build_information",
|
|
"changelog",
|
|
"licenses",
|
|
"license_text"
|
|
],
|
|
"totalLines": 196,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/about_tests.rs": {
|
|
"filePath": "native/src/services/about_tests.rs",
|
|
"contentHash": "8fd0ad9df7ce6ca2bab88142e7a07af2795211f12d26001d736f3709c5a71730",
|
|
"functions": [
|
|
{
|
|
"name": "changelog_keeps_release_dates_qualifiers_notes_and_continuations",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "source_limits_apply_before_parsing",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "core_inventory_associates_shared_license_text_without_guessing_sources",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "installed_about_uses_actual_bundled_sources_and_opaque_ids_only",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 51,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/badges.rs": {
|
|
"filePath": "native/src/services/badges.rs",
|
|
"contentHash": "d54592647d417052b92a50d9464b501409e490db28bf0a660742769ecfb8e301",
|
|
"functions": [
|
|
{
|
|
"name": "valid_uuid",
|
|
"owner": "",
|
|
"params": [
|
|
"uuid"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "catalog_url",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "clean_badge",
|
|
"owner": "",
|
|
"params": [
|
|
"badge"
|
|
],
|
|
"returnType": "Option<Badge>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "artwork_url",
|
|
"owner": "",
|
|
"params": [
|
|
"badge",
|
|
"detailed"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "format_error",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "varint",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"offset"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "fields",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"visit"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "parse_badge_list",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<BadgeList>",
|
|
"exported": true,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "valid_svg",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "safe_css",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"profile_root",
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "with_fetch",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"root",
|
|
"official",
|
|
"enabled",
|
|
"fetch"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "BadgeCatalog",
|
|
"params": [],
|
|
"returnType": "SourceStatus",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "BadgeCatalog",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "load_cache",
|
|
"owner": "BadgeCatalog",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "ensure_fresh_locked",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"force",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "refresh",
|
|
"owner": "BadgeCatalog",
|
|
"params": [],
|
|
"returnType": "Result<SourceStatus>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "info",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"uuids"
|
|
],
|
|
"returnType": "Result<BadgeInfos>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "artwork",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"uuid",
|
|
"detailed"
|
|
],
|
|
"returnType": "Result<Artwork>",
|
|
"exported": true,
|
|
"lineCount": 51
|
|
},
|
|
{
|
|
"name": "write_art",
|
|
"owner": "BadgeCatalog",
|
|
"params": [
|
|
"name",
|
|
"svg"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stopped",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read_art",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "official_cache_dirs",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Vec<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Badge",
|
|
"methods": [],
|
|
"properties": [
|
|
"uuid",
|
|
"name",
|
|
"description",
|
|
"url"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BadgeList",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"updated",
|
|
"badges"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BadgeInfo",
|
|
"methods": [],
|
|
"properties": [
|
|
"uuid",
|
|
"known",
|
|
"name",
|
|
"description"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BadgeInfos",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"badges"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ArtworkSource",
|
|
"methods": [],
|
|
"properties": [
|
|
"Cache",
|
|
"TeamspeakCache",
|
|
"Network"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Artwork",
|
|
"methods": [],
|
|
"properties": [
|
|
"svg",
|
|
"source",
|
|
"source_url",
|
|
"fetched_at",
|
|
"cache_error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Wire",
|
|
"methods": [],
|
|
"properties": [
|
|
"Integer",
|
|
"Bytes",
|
|
"Fixed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CachedList",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"source",
|
|
"fetched_at",
|
|
"badges"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CatalogState",
|
|
"methods": [],
|
|
"properties": [
|
|
"badges",
|
|
"status",
|
|
"cache_loaded",
|
|
"generation",
|
|
"cancel",
|
|
"art_failures"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "BadgeCatalog",
|
|
"methods": [
|
|
"new",
|
|
"with_fetch",
|
|
"status",
|
|
"stop",
|
|
"load_cache",
|
|
"ensure_fresh_locked",
|
|
"refresh",
|
|
"info",
|
|
"artwork",
|
|
"write_art",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"official",
|
|
"fetch",
|
|
"state",
|
|
"flight"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::media",
|
|
"specifiers": [
|
|
"Cancellation",
|
|
"Fetch",
|
|
"FetchRequest",
|
|
"HttpFetch",
|
|
"Redirects",
|
|
"http_url",
|
|
"now_ms",
|
|
"read_bounded"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::privacy",
|
|
"specifiers": [
|
|
"SourceStatus"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Badge",
|
|
"BadgeList",
|
|
"BadgeInfo",
|
|
"BadgeInfos",
|
|
"ArtworkSource",
|
|
"Artwork",
|
|
"valid_uuid",
|
|
"artwork_url",
|
|
"parse_badge_list",
|
|
"valid_svg",
|
|
"BadgeCatalog",
|
|
"new",
|
|
"with_fetch",
|
|
"status",
|
|
"stop",
|
|
"refresh",
|
|
"info",
|
|
"artwork"
|
|
],
|
|
"totalLines": 345,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/badges_tests.rs": {
|
|
"filePath": "native/src/services/badges_tests.rs",
|
|
"contentHash": "93ad6d2323ae1c2307f9532c496eab41f918d57077c636bb2dc65d257118d9d5",
|
|
"functions": [
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"bytes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "field",
|
|
"owner": "",
|
|
"params": [
|
|
"number",
|
|
"value",
|
|
"bytes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "badge",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"name",
|
|
"url"
|
|
],
|
|
"returnType": "Vec<u8>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "",
|
|
"params": [
|
|
"items"
|
|
],
|
|
"returnType": "Vec<u8>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "fixture_catalog",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Vec<u8>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "FixtureFetch",
|
|
"params": [
|
|
"replies"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "response",
|
|
"owner": "",
|
|
"params": [
|
|
"url",
|
|
"body"
|
|
],
|
|
"returnType": "Result<FetchResponse>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "protobuf_preserves_first_valid_badge_and_fixed_origin_artwork",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "malformed_protobuf_utf8_and_raw_entry_limit_reject_whole_catalog",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "svg_allows_shapes_but_no_external_resources_or_active_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "catalog_artwork_cache_restart_and_provenance_are_real",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "official_cache_is_read_only_and_never_claimed_as_network_provenance",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "failed_refresh_does_not_replace_good_cache_and_art_failure_is_throttled",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "art_cache_evicts_only_managed_old_files_after_successful_write",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "stop_discards_late_catalog_result_without_cache_write",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FixtureFetch",
|
|
"methods": [
|
|
"new",
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"replies",
|
|
"calls"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DelayedFetch",
|
|
"methods": [
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"started",
|
|
"release"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::media",
|
|
"specifiers": [
|
|
"FetchResponse"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque",
|
|
"pin::Pin"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 143,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/bookmarks.rs": {
|
|
"filePath": "native/src/services/bookmarks.rs",
|
|
"contentHash": "fe8c0098fd742dc6c7d56bbdbbb2c774a8e417e473e474369855e4983ffab284",
|
|
"functions": [
|
|
{
|
|
"name": "fail",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "units",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_id",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_identity",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "base64_char",
|
|
"owner": "",
|
|
"params": [
|
|
"c"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_secret",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_nickname",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_channel",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"empty"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "address",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "validate_identity_references",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"known_uids"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "valid_servers",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unique_entries",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"max",
|
|
"check"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "valid_folders",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "valid_order",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"k"
|
|
],
|
|
"returnType": "&'a [Value]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "depth",
|
|
"owner": "",
|
|
"params": [
|
|
"folders",
|
|
"id"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "consistent",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "complete_order",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "normalize",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "checked",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "require_folder",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fresh",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cleaned_name",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "shortened",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"limit"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parent_of",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "contents",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"parent"
|
|
],
|
|
"returnType": "Vec<Value>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "descendants",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "HashSet<String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "next_sibling",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "all_bookmarks",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"parent"
|
|
],
|
|
"returnType": "Result<Vec<Value>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "add_bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"label",
|
|
"addr",
|
|
"identity",
|
|
"folder"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "update_bookmark",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"patch"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "create_folder",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"label",
|
|
"parent"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "rename",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"label"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "move_item",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"parent",
|
|
"before"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "duplicate",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id",
|
|
"new_id",
|
|
"suffix"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "remove",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"id"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel_path",
|
|
"owner": "",
|
|
"params": [
|
|
"channels",
|
|
"channel_id"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"units",
|
|
"control",
|
|
"valid_id",
|
|
"valid_identity",
|
|
"valid_secret",
|
|
"valid_nickname",
|
|
"valid_channel",
|
|
"valid_bookmark",
|
|
"validate_identity_references",
|
|
"valid_servers",
|
|
"valid_folders",
|
|
"valid_order",
|
|
"consistent",
|
|
"complete_order",
|
|
"normalize",
|
|
"parent_of",
|
|
"contents",
|
|
"descendants",
|
|
"next_sibling",
|
|
"all_bookmarks",
|
|
"add_bookmark",
|
|
"update_bookmark",
|
|
"create_folder",
|
|
"rename",
|
|
"move_item",
|
|
"duplicate",
|
|
"remove",
|
|
"channel_path"
|
|
],
|
|
"totalLines": 143,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/bookmarks_tests.rs": {
|
|
"filePath": "native/src/services/bookmarks_tests.rs",
|
|
"contentHash": "4a59e49b945a63f5b277cc8deeed54eb8ea6cab5a1b5a6b54dc4c032c6c64046",
|
|
"functions": [
|
|
{
|
|
"name": "empty",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "hierarchy_order_move_duplicate_and_recursive_removal",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "limits_cycles_and_shared_ids_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "repair_never_drops_bookmarks_and_keeps_existing_order",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "nickname_codepoints_channel_and_editor_secret_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "channel_path_checks_missing_parent_cycles_and_control_characters",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "uid_reference_must_resolve_to_vault_identity",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 32,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/diagrams.rs": {
|
|
"filePath": "native/src/services/chat/diagrams.rs",
|
|
"contentHash": "4b88b2f64056d6dee210e5b98f8db04e33da10c2c668202c4d4ff427f38ed468",
|
|
"functions": [
|
|
{
|
|
"name": "from_preference",
|
|
"owner": "Autoload",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "complexity",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "RenderTicket",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "try_event",
|
|
"owner": "RenderTicket",
|
|
"params": [
|
|
"current_generation"
|
|
],
|
|
"returnType": "Option<RenderEvent>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "DiagramRenderer",
|
|
"params": [],
|
|
"returnType": "std::io::Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "DiagramRenderer",
|
|
"params": [
|
|
"source",
|
|
"generation",
|
|
"trigger"
|
|
],
|
|
"returnType": "Result<RenderTicket, RequestError>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "DiagramRenderer",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pump",
|
|
"owner": "",
|
|
"params": [
|
|
"shared"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "bundled_font_ready",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "render_source",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"cancel",
|
|
"limits"
|
|
],
|
|
"returnType": "DiagramResult",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "validate_svg",
|
|
"owner": "",
|
|
"params": [
|
|
"svg"
|
|
],
|
|
"returnType": "Result<DiagramImage, String>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "local_fragment",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "safe_css",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Autoload",
|
|
"methods": [
|
|
"from_preference"
|
|
],
|
|
"properties": [
|
|
"Never",
|
|
"OnlySimple"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Trigger",
|
|
"methods": [],
|
|
"properties": [
|
|
"Automatic",
|
|
"Manual",
|
|
"Retry"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "RequestError",
|
|
"methods": [],
|
|
"properties": [
|
|
"Empty",
|
|
"ManualRequired",
|
|
"SourceLimit",
|
|
"QueueFull",
|
|
"Stopped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DiagramImage",
|
|
"methods": [],
|
|
"properties": [
|
|
"svg",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "DiagramResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"source",
|
|
"image"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "RenderEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Started",
|
|
"Finished"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "RenderTicket",
|
|
"methods": [
|
|
"cancel",
|
|
"try_event",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"generation",
|
|
"cancel",
|
|
"events"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Job",
|
|
"methods": [],
|
|
"properties": [
|
|
"source",
|
|
"cancel",
|
|
"events"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"queue",
|
|
"cache",
|
|
"active",
|
|
"closed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Shared",
|
|
"methods": [],
|
|
"properties": [
|
|
"state",
|
|
"changed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DiagramRenderer",
|
|
"methods": [
|
|
"new",
|
|
"request",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"shared",
|
|
"next"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "mermaid_rs_renderer",
|
|
"specifiers": [
|
|
"RenderOptions",
|
|
"Theme"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Autoload",
|
|
"from_preference",
|
|
"Trigger",
|
|
"RequestError",
|
|
"DiagramImage",
|
|
"DiagramResult",
|
|
"RenderEvent",
|
|
"complexity",
|
|
"RenderTicket",
|
|
"cancel",
|
|
"try_event",
|
|
"DiagramRenderer",
|
|
"new",
|
|
"request",
|
|
"shutdown",
|
|
"render_source",
|
|
"validate_svg"
|
|
],
|
|
"totalLines": 228,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/diagrams_tests.rs": {
|
|
"filePath": "native/src/services/chat/diagrams_tests.rs",
|
|
"contentHash": "0202b9a08ca44380bd57ed5b19a402fe47ae65b6819b0b3aa9396ccf4669311c",
|
|
"functions": [
|
|
{
|
|
"name": "render",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "DiagramResult",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"image"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "",
|
|
"params": [
|
|
"ticket"
|
|
],
|
|
"returnType": "(Option<Instant>, Arc<DiagramResult>)",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "existing_chat_markup_fixture_renders_actual_node_labels_and_edge",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "every_previously_supported_family_preserves_visible_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "complete_published_complex_fixture_corpus_remains_renderable",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "policy_matches_reference_nonoverlapping_complexity_and_strict_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "queue_serializes_start_times_and_cache_retry_and_generation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "cache_is_fifty_entry_lru_and_caches_errors",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "source_and_layout_budgets_abort_work_not_just_replies",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "edge_expansion_and_recursive_depth_are_bounded",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "svg",
|
|
"owner": "",
|
|
"params": [
|
|
"body"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "hostile_svg_is_rejected_before_native_loading",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "strict_click_and_security_directives_never_create_external_svg",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "directive_recursion_deadline_and_cancelled_job_do_not_poison_worker",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "cancellation_during_font_or_layout_work_preserves_next_render_geometry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super::diagrams",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "mermaid_rs_renderer",
|
|
"specifiers": [
|
|
"RenderOptions",
|
|
"Theme"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::Path",
|
|
"thread"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 252,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/math.rs": {
|
|
"filePath": "native/src/services/chat/math.rs",
|
|
"contentHash": "c039bf0287581820b5a86f495dff73017b6705c829398080b39ad1c114b1b58c",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "MathRenderer",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "render",
|
|
"owner": "MathRenderer",
|
|
"params": [
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "MathRender",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "render_inner",
|
|
"owner": "MathRenderer",
|
|
"params": [
|
|
"source",
|
|
"options"
|
|
],
|
|
"returnType": "Result<MathSvg, MathDiagnostic>",
|
|
"exported": false,
|
|
"lineCount": 96
|
|
},
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "MathDiagnostic",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "font_database",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "&'static Arc<fontdb::Database>",
|
|
"exported": false,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "validate_layout",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<(), MathDiagnostic>",
|
|
"exported": false,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "finite",
|
|
"owner": "",
|
|
"params": [
|
|
"values"
|
|
],
|
|
"returnType": "Result<(), MathDiagnostic>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "validate_svg_geometry",
|
|
"owner": "",
|
|
"params": [
|
|
"tree"
|
|
],
|
|
"returnType": "Result<(), MathDiagnostic>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "MathOptions",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"display",
|
|
"font_size_px",
|
|
"color",
|
|
"display_width_px"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "MathSvg",
|
|
"methods": [],
|
|
"properties": [
|
|
"svg",
|
|
"width_px",
|
|
"height_px",
|
|
"baseline_px"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "MathDiagnostic",
|
|
"methods": [],
|
|
"properties": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "MathRender",
|
|
"methods": [],
|
|
"properties": [
|
|
"source",
|
|
"display",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "MathRenderer",
|
|
"methods": [
|
|
"default",
|
|
"new",
|
|
"render",
|
|
"render_inner"
|
|
],
|
|
"properties": [
|
|
"context"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"LazyLock"
|
|
]
|
|
},
|
|
{
|
|
"source": "katex_native",
|
|
"specifiers": [
|
|
"Item",
|
|
"Layout",
|
|
"PathCommand",
|
|
"FONTS",
|
|
"katex"
|
|
]
|
|
},
|
|
{
|
|
"source": "katex::types",
|
|
"specifiers": [
|
|
"OutputFormat",
|
|
"StrictMode",
|
|
"StrictSetting",
|
|
"TrustSetting"
|
|
]
|
|
},
|
|
{
|
|
"source": "usvg",
|
|
"specifiers": [
|
|
"fontdb"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"MathOptions",
|
|
"MathSvg",
|
|
"MathDiagnostic",
|
|
"MathRender",
|
|
"MathRenderer",
|
|
"new",
|
|
"render"
|
|
],
|
|
"totalLines": 276,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/math_tests.rs": {
|
|
"filePath": "native/src/services/chat/math_tests.rs",
|
|
"contentHash": "1b331b11a28564974358b19a6a2f6637a84cd7ee39526e4b2ae46cb3b8487ccb",
|
|
"functions": [
|
|
{
|
|
"name": "rendered",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"display"
|
|
],
|
|
"returnType": "MathSvg",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "artifact_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"image"
|
|
],
|
|
"returnType": "usvg::Tree",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "paths",
|
|
"owner": "",
|
|
"params": [
|
|
"tree"
|
|
],
|
|
"returnType": "Vec<&usvg::Path>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "fractions_and_roots_have_real_outlines_and_baselines",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "display_operators_and_equation_tags_keep_block_semantics",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "unicode_math_and_cyrillic_text_do_not_depend_on_browser_fonts",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "numeric_unicode_overflow_is_an_error_not_a_panic_or_wrapped_glyph",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "font_style_and_formula_color_survive_outlining",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "invalid_formula_retains_source_and_diagnostic",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "macros_expand_but_never_escape_the_message",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "macro_generated_nesting_is_bounded_in_the_actual_parser",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "depth_errors_drop_partial_trees_and_leave_renderer_usable",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "token_duplication_is_bounded_even_with_a_large_expansion_setting",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "numeric_and_sparse_arrays_cannot_bypass_layout_work_limits",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "untrusted_commands_cannot_create_links_images_or_active_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "limits_fail_visibly_and_keep_the_original_source",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "arrays_accents_and_spacing_are_preserved_without_html",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 220,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/mod.rs": {
|
|
"filePath": "native/src/services/chat/mod.rs",
|
|
"contentHash": "b6855201f8f40a730c33aae5b0cbdabc5229e9df05e6f431fa479fbacb32f1d6",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "parse",
|
|
"specifiers": [
|
|
"parse",
|
|
"to_plain_text",
|
|
"Block",
|
|
"BlockKind",
|
|
"Document",
|
|
"Footnote",
|
|
"Inline",
|
|
"List",
|
|
"ListItem",
|
|
"Callout"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 10,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/parse.rs": {
|
|
"filePath": "native/src/services/chat/parse.rs",
|
|
"contentHash": "0e663dc53e9bfd970bdd3d00ecda75cb101e50ed0524af4d0311b32bd024c997",
|
|
"functions": [
|
|
{
|
|
"name": "block",
|
|
"owner": "",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"returnType": "Block",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Vec<Inline>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "normalize",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unescape",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "thematic",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "spaces",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "paired",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "color",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "size",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fence",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<(usize,&str,&str)>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "definition",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<(String,Dest)>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "marker",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Option<Marker>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "count",
|
|
"owner": "Parser",
|
|
"params": [],
|
|
"returnType": "PResult<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "inline",
|
|
"owner": "Parser",
|
|
"params": [
|
|
"s",
|
|
"d"
|
|
],
|
|
"returnType": "PResult<Vec<Inline>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "blocks",
|
|
"owner": "Parser",
|
|
"params": [
|
|
"lines",
|
|
"d"
|
|
],
|
|
"returnType": "PResult<Vec<Block>>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "one",
|
|
"owner": "Parser",
|
|
"params": [
|
|
"l",
|
|
"i",
|
|
"d"
|
|
],
|
|
"returnType": "PResult<(Option<Block>,usize)>",
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "cells",
|
|
"owner": "Parser",
|
|
"params": [
|
|
"s",
|
|
"d"
|
|
],
|
|
"returnType": "PResult<Vec<Vec<Inline>>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "Parser",
|
|
"params": [
|
|
"l",
|
|
"i",
|
|
"ordered",
|
|
"base",
|
|
"d"
|
|
],
|
|
"returnType": "PResult<(List,usize)>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "split_row",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Vec<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Document",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "char_at",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"i"
|
|
],
|
|
"returnType": "Option<char>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "previous",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"i"
|
|
],
|
|
"returnType": "Option<char>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flanking",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "(bool,bool,bool,bool)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "brackets",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "HashMap<usize,usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"p",
|
|
"s",
|
|
"d"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "add",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"node"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flush",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "push",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"node"
|
|
],
|
|
"returnType": "PResult<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "inner",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "PResult<Vec<Inline>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [],
|
|
"returnType": "PResult<Vec<Inline>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "step",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "code",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "math",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "angle",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "footnote",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "subsuper",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i",
|
|
"ch"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "link",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"open",
|
|
"image"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bbcode",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "delimiter",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [
|
|
"i",
|
|
"ch",
|
|
"fixed",
|
|
"kind"
|
|
],
|
|
"returnType": "PResult<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "emphasis",
|
|
"owner": "InlineParser<'a,'p>",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "merge",
|
|
"owner": "",
|
|
"params": [
|
|
"nodes"
|
|
],
|
|
"returnType": "Vec<Inline>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "strip_angles",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "image_params",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "(Option<String>,Option<String>,Option<String>,Option<String>)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"k",
|
|
"image"
|
|
],
|
|
"returnType": "Option<Dest>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "plain_url_end",
|
|
"owner": "",
|
|
"params": [
|
|
"t",
|
|
"pos"
|
|
],
|
|
"returnType": "Option<usize>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "emoji_for_shortcode",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 5079
|
|
},
|
|
{
|
|
"name": "decode_entity",
|
|
"owner": "",
|
|
"params": [
|
|
"entity"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "to_plain_text",
|
|
"owner": "",
|
|
"params": [
|
|
"doc"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Document",
|
|
"methods": [],
|
|
"properties": [
|
|
"children",
|
|
"footnotes",
|
|
"too_complex"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Block",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"lines"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BlockKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Paragraph",
|
|
"Heading",
|
|
"Hr",
|
|
"Blockquote",
|
|
"List",
|
|
"Code",
|
|
"Math",
|
|
"Mermaid",
|
|
"Table",
|
|
"Details",
|
|
"Align",
|
|
"Bb"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Callout",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"title"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "List",
|
|
"methods": [],
|
|
"properties": [
|
|
"ordered",
|
|
"start",
|
|
"items"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ListItem",
|
|
"methods": [],
|
|
"properties": [
|
|
"task",
|
|
"children",
|
|
"sub"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Footnote",
|
|
"methods": [],
|
|
"properties": [
|
|
"label",
|
|
"number",
|
|
"children",
|
|
"lines"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Inline",
|
|
"methods": [],
|
|
"properties": [
|
|
"Text",
|
|
"Code",
|
|
"Math",
|
|
"Em",
|
|
"Strong",
|
|
"Del",
|
|
"Underline",
|
|
"Sup",
|
|
"Sub",
|
|
"Mark",
|
|
"Spoiler",
|
|
"Hr",
|
|
"Emoji",
|
|
"FootnoteRef",
|
|
"Link",
|
|
"Image",
|
|
"Color",
|
|
"Size",
|
|
"BbAlign"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Dest",
|
|
"methods": [],
|
|
"properties": [
|
|
"href",
|
|
"title",
|
|
"width",
|
|
"height",
|
|
"end"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Marker",
|
|
"methods": [],
|
|
"properties": [
|
|
"ordered",
|
|
"indent",
|
|
"content",
|
|
"task",
|
|
"start"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Parser",
|
|
"methods": [
|
|
"count",
|
|
"inline",
|
|
"blocks",
|
|
"one",
|
|
"cells",
|
|
"list"
|
|
],
|
|
"properties": [
|
|
"refs",
|
|
"defs",
|
|
"order",
|
|
"pending",
|
|
"nodes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Delimiter",
|
|
"methods": [],
|
|
"properties": [
|
|
"ch",
|
|
"id",
|
|
"count",
|
|
"orig",
|
|
"open",
|
|
"close",
|
|
"kind"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Entry",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"node"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "InlineParser",
|
|
"methods": [],
|
|
"properties": [
|
|
"p",
|
|
"s",
|
|
"d",
|
|
"pairs",
|
|
"bb",
|
|
"out",
|
|
"buf",
|
|
"delims",
|
|
"serial"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize",
|
|
"Deserialize"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Document",
|
|
"Block",
|
|
"BlockKind",
|
|
"Callout",
|
|
"List",
|
|
"ListItem",
|
|
"Footnote",
|
|
"Inline",
|
|
"parse",
|
|
"emoji_for_shortcode",
|
|
"decode_entity",
|
|
"to_plain_text"
|
|
],
|
|
"totalLines": 5290,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat/parse_tests.rs": {
|
|
"filePath": "native/src/services/chat/parse_tests.rs",
|
|
"contentHash": "33f43a8cd3f3f94dc846b2d430d099cc4c253ff1a1af10769a2f5e8fb6ae960f",
|
|
"functions": [
|
|
{
|
|
"name": "paragraph",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Vec<Inline>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "physical_lines_and_unicode_spans",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "every_inline_style_keeps_visible_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "escapes_entities_code_and_math",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "links_references_and_sized_images",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "bbcode_atomic_and_nested",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "strict_lists_and_quotes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "block_extensions_preserve_data",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "tables_preserve_escaped_pipes_and_alignment",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "footnotes_order_forward_refs_bang_and_continuations",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "full_emoji_table_and_unknown_literal",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exact_node_limit_and_original_fallback",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exact_depth_limit_preserves_unparsed_inner_source",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "hostile_payloads_remain_inert_data",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "references_ignore_fences_and_keep_first_definition",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "supplementary_unicode_never_splits_destinations_or_escapes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super::parse",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 64,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat_history.rs": {
|
|
"filePath": "native/src/services/chat_history.rs",
|
|
"contentHash": "473e0f9347721ccf5899a5f36a490a20282d48b1e273be514ea4a42c66bd4151",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "corrupt",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "uid",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "",
|
|
"params": [
|
|
"c"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "hash",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "HistoryBase",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "prefix",
|
|
"owner": "HistoryKind",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "HistoryScope",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "ChatRecord",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "decode",
|
|
"owner": "",
|
|
"params": [
|
|
"line"
|
|
],
|
|
"returnType": "Option<ChatRecord>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "HistoryTarget",
|
|
"params": [
|
|
"connections",
|
|
"key",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "HistoryTarget",
|
|
"params": [
|
|
"connections"
|
|
],
|
|
"returnType": "Result<&HistoryScope>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "total",
|
|
"owner": "OpenConversation",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"base_dir"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "server_dir",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"base"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "conversation_dir",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"scope"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"scope",
|
|
"create"
|
|
],
|
|
"returnType": "Result<Option<OpenConversation>>",
|
|
"exported": false,
|
|
"lineCount": 48
|
|
},
|
|
{
|
|
"name": "write_meta",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"conv",
|
|
"meta"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "append",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"scope",
|
|
"record",
|
|
"label"
|
|
],
|
|
"returnType": "Result<AppendResult>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "page",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"scope",
|
|
"before",
|
|
"count"
|
|
],
|
|
"returnType": "Result<HistoryPage>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "set_open",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"scope",
|
|
"open",
|
|
"label"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "ChatHistoryStore",
|
|
"params": [
|
|
"base"
|
|
],
|
|
"returnType": "Result<Vec<Conversation>>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "chunk_name",
|
|
"owner": "",
|
|
"params": [
|
|
"index"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "chunk_index",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "check_path",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"bound"
|
|
],
|
|
"returnType": "Result<Option<Vec<u8>>>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "ensure_dirs",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"dir"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "HistoryBase",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"identity",
|
|
"server"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HistoryKind",
|
|
"methods": [
|
|
"prefix"
|
|
],
|
|
"properties": [
|
|
"Channel",
|
|
"Server",
|
|
"Client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HistoryScope",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"base",
|
|
"kind",
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "MessageType",
|
|
"methods": [],
|
|
"properties": [
|
|
"Text",
|
|
"Poke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatRecord",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"time",
|
|
"message_type",
|
|
"from_uid",
|
|
"from_name",
|
|
"own",
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "StoredRecord",
|
|
"methods": [],
|
|
"properties": [
|
|
"t",
|
|
"y",
|
|
"u",
|
|
"n",
|
|
"o",
|
|
"m"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Meta",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"scope",
|
|
"label",
|
|
"open",
|
|
"created"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "HistoryMessage",
|
|
"methods": [],
|
|
"properties": [
|
|
"index",
|
|
"record"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HistoryPage",
|
|
"methods": [],
|
|
"properties": [
|
|
"total",
|
|
"start",
|
|
"messages"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LiveConversation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Server",
|
|
"Channel",
|
|
"Client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HistoryTarget",
|
|
"methods": [
|
|
"capture",
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"target",
|
|
"scope"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "AppendResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"index",
|
|
"total"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Conversation",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"key",
|
|
"label",
|
|
"open",
|
|
"updated",
|
|
"total"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "OpenConversation",
|
|
"methods": [
|
|
"total"
|
|
],
|
|
"properties": [
|
|
"dir",
|
|
"meta",
|
|
"written",
|
|
"chunks",
|
|
"last_lines",
|
|
"last_time"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatHistoryStore",
|
|
"methods": [
|
|
"new",
|
|
"server_dir",
|
|
"conversation_dir",
|
|
"open",
|
|
"write_meta",
|
|
"append",
|
|
"page",
|
|
"set_open",
|
|
"list"
|
|
],
|
|
"properties": [
|
|
"root"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"HistoryBase",
|
|
"validate",
|
|
"HistoryKind",
|
|
"HistoryScope",
|
|
"validate",
|
|
"MessageType",
|
|
"ChatRecord",
|
|
"validate",
|
|
"HistoryMessage",
|
|
"HistoryPage",
|
|
"LiveConversation",
|
|
"HistoryTarget",
|
|
"capture",
|
|
"validate",
|
|
"AppendResult",
|
|
"Conversation",
|
|
"ChatHistoryStore",
|
|
"new",
|
|
"append",
|
|
"page",
|
|
"set_open",
|
|
"list"
|
|
],
|
|
"totalLines": 380,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/chat_history_tests.rs": {
|
|
"filePath": "native/src/services/chat_history_tests.rs",
|
|
"contentHash": "4907332d67f0be05cd677821a797123127af3b9df401dd954bc618fc813199c3",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "store",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "ChatHistoryStore",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "scope",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "HistoryScope",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "record",
|
|
"owner": "",
|
|
"params": [
|
|
"i"
|
|
],
|
|
"returnType": "ChatRecord",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "hashes_and_compact_records_match_electron_format",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "restart_pagination_and_scope_isolation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "interrupted_and_damaged_lines_keep_indices",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "metadata_collision_and_unknown_versions_fail_closed",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "failed_saves_leave_open_state_and_records_unchanged",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "validation_and_bounded_reads",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "list_sort_and_missing_close_do_not_create_conversations",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "preexisting_legacy_rows_open_without_rewriting_and_invalid_rows_keep_positions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "linked_history_files_never_read_or_overwrite_the_target",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Fixture",
|
|
"methods": [
|
|
"new",
|
|
"store",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 234,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/client_volumes.rs": {
|
|
"filePath": "native/src/services/client_volumes.rs",
|
|
"contentHash": "153e755c12f113e7adf42f015159b8d7bee463ab074662d50176ab3bfeb6e450",
|
|
"functions": [
|
|
{
|
|
"name": "valid_uid",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "valid_db",
|
|
"owner": "",
|
|
"params": [
|
|
"db"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "ClientVolumes",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "ClientVolumes",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "ClientVolumes",
|
|
"params": [],
|
|
"returnType": "impl Iterator<Item = (&str, f64)>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "ClientVolumes",
|
|
"params": [
|
|
"uid",
|
|
"db",
|
|
"now_ms"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "replace_command",
|
|
"owner": "ClientVolumes",
|
|
"params": [],
|
|
"returnType": "Result<Command>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "upsert_command",
|
|
"owner": "ClientVolumes",
|
|
"params": [
|
|
"uid",
|
|
"db"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "volume_command",
|
|
"owner": "",
|
|
"params": [
|
|
"replace",
|
|
"entries"
|
|
],
|
|
"returnType": "Result<Command>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "VolumeEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"db",
|
|
"updated"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ClientVolumes",
|
|
"methods": [
|
|
"open",
|
|
"get",
|
|
"list",
|
|
"set",
|
|
"replace_command",
|
|
"upsert_command"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"volumes",
|
|
"diagnostic"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"secure_fs",
|
|
"voice_dsp::LocalVolumesUpdate"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"VolumeEntry",
|
|
"ClientVolumes",
|
|
"open",
|
|
"get",
|
|
"list",
|
|
"set",
|
|
"replace_command",
|
|
"upsert_command"
|
|
],
|
|
"totalLines": 81,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/client_volumes_tests.rs": {
|
|
"filePath": "native/src/services/client_volumes_tests.rs",
|
|
"contentHash": "6f473ab9161c6a43f652d31d4c505b50a2a1fbe024af398f148d34213d2bda19",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "identity_gains_survive_restart_and_zero_removes_entry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "invalid_grid_or_write_failure_does_not_change_memory",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "load_filters_invalid_values_without_overwriting_source",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "legacy_regex_acceptance_does_not_fake_core_uid_decode",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "least_recently_updated_entry_is_evicted",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 31,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/connected.rs": {
|
|
"filePath": "native/src/services/connected.rs",
|
|
"contentHash": "c7c2489261591657c83c54219d7beba643022efb8a38c8109454b161414e2543",
|
|
"functions": [
|
|
{
|
|
"name": "start",
|
|
"owner": "ConnectedServices",
|
|
"params": [
|
|
"root",
|
|
"files",
|
|
"network_enabled",
|
|
"consumer"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "ConnectedServices",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "ConnectedServices",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FileEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"Control",
|
|
"Closed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConnectedServices",
|
|
"methods": [
|
|
"start",
|
|
"close",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"connections",
|
|
"events",
|
|
"icons",
|
|
"snapshots",
|
|
"stop",
|
|
"files",
|
|
"done",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError",
|
|
"events::ServiceEvents",
|
|
"files::FilesService",
|
|
"server_icons::ServerIcons",
|
|
"snapshots::Snapshots"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionEvent",
|
|
"ConnectionManager",
|
|
"ConnectionSink",
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"oneshot"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ConnectedServices",
|
|
"start",
|
|
"close",
|
|
"shutdown"
|
|
],
|
|
"totalLines": 94,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/contacts.rs": {
|
|
"filePath": "native/src/services/contacts.rs",
|
|
"contentHash": "892cd096ff662119c578afc838f1218e2b131c1de12d788d753c99b3006bdffd",
|
|
"functions": [
|
|
{
|
|
"name": "validate",
|
|
"owner": "ContactSession",
|
|
"params": [
|
|
"connections"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clean_text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "contacts_of",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs"
|
|
],
|
|
"returnType": "Result<Vec<Contact>>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "add_contact",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"uid",
|
|
"name"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "remove_contact",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"uid"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "set_alias",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"uid",
|
|
"alias"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "highlights_contact",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"client"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "sessions_for",
|
|
"owner": "",
|
|
"params": [
|
|
"uid",
|
|
"connections"
|
|
],
|
|
"returnType": "Vec<ContactSession>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "presence_of",
|
|
"owner": "",
|
|
"params": [
|
|
"sessions"
|
|
],
|
|
"returnType": "Presence",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "choose_session",
|
|
"owner": "",
|
|
"params": [
|
|
"sessions",
|
|
"viewed_id"
|
|
],
|
|
"returnType": "Option<&'a ContactSession>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "build_entries",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"connections",
|
|
"unread_of"
|
|
],
|
|
"returnType": "Result<Vec<ContactEntry>>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "arrange_entries",
|
|
"owner": "",
|
|
"params": [
|
|
"entries",
|
|
"options"
|
|
],
|
|
"returnType": "ContactArrangement",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Contact",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"alias",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Presence",
|
|
"methods": [],
|
|
"properties": [
|
|
"Available",
|
|
"Away",
|
|
"Offline"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ContactSession",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"client_id",
|
|
"uid",
|
|
"nickname",
|
|
"away",
|
|
"server_name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "ContactEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"contact",
|
|
"sessions",
|
|
"presence",
|
|
"name",
|
|
"unread"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "ContactArrangement",
|
|
"methods": [],
|
|
"properties": [
|
|
"main",
|
|
"offline",
|
|
"grouped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ContactOptions",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"alphabetical",
|
|
"show_offline",
|
|
"group_offline",
|
|
"filter"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionsSnapshot",
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Contact",
|
|
"Presence",
|
|
"ContactSession",
|
|
"validate",
|
|
"ContactEntry",
|
|
"ContactArrangement",
|
|
"ContactOptions",
|
|
"contacts_of",
|
|
"add_contact",
|
|
"remove_contact",
|
|
"set_alias",
|
|
"highlights_contact",
|
|
"sessions_for",
|
|
"presence_of",
|
|
"choose_session",
|
|
"build_entries",
|
|
"arrange_entries"
|
|
],
|
|
"totalLines": 160,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/contacts_tests.rs": {
|
|
"filePath": "native/src/services/contacts_tests.rs",
|
|
"contentHash": "05c80278e030a720ad20b59228fec3bb140e7633a19fc689654b759627f7e4a8",
|
|
"functions": [
|
|
{
|
|
"name": "connection",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"generation",
|
|
"away"
|
|
],
|
|
"returnType": "ConnectionSnapshot",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "connections",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ConnectionsSnapshot",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "prefs",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "presence_names_and_creation_order_match_local_model",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "aliases_grouping_filtering_and_unread_rules",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "contact_patches_preserve_alias_position_and_use_shared_schema",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "recycled_client_and_session_guards_reject_stale_actions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "contacts_restart_and_failed_save_use_the_shared_preferences_store",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 31
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"AudioState",
|
|
"ConnectionSnapshot",
|
|
"ConnectionState",
|
|
"CoreStatus"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeSet",
|
|
"sync::Arc"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 151,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/events.rs": {
|
|
"filePath": "native/src/services/events.rs",
|
|
"contentHash": "893241a50101fd13a4f2cc559900fcea9756fbae86f33ece7bc48db20494dd89",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "ServiceEvents",
|
|
"params": [
|
|
"network_enabled",
|
|
"consumer"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "authorize_core_media",
|
|
"owner": "ServiceEvents",
|
|
"params": [
|
|
"key",
|
|
"target",
|
|
"error"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "ServiceEvents",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "on_event",
|
|
"owner": null,
|
|
"params": [
|
|
"event"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ServiceEvents",
|
|
"methods": [
|
|
"new",
|
|
"authorize_core_media",
|
|
"close",
|
|
"on_event"
|
|
],
|
|
"properties": [
|
|
"media",
|
|
"icon_transfers",
|
|
"keys",
|
|
"consumer"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionEvent",
|
|
"ConnectionSink",
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"server_icons::IconTransferEvents"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"ErrorObj"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ServiceEvents",
|
|
"new",
|
|
"authorize_core_media",
|
|
"close"
|
|
],
|
|
"totalLines": 47,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/file_settings.rs": {
|
|
"filePath": "native/src/services/file_settings.rs",
|
|
"contentHash": "ebae4eaf2789bbc0fb6ba59a44895bcb42bcf930e8520801761a9422ec237976",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "FileSettingsValue",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "public_value",
|
|
"owner": "FileSettingsValue",
|
|
"params": [],
|
|
"returnType": "serde_json::Value",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "FileSettings",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "value",
|
|
"owner": "FileSettings",
|
|
"params": [],
|
|
"returnType": "&FileSettingsValue",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "download_location",
|
|
"owner": "FileSettings",
|
|
"params": [],
|
|
"returnType": "Option<&Path>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "patched",
|
|
"owner": "FileSettings",
|
|
"params": [
|
|
"patch"
|
|
],
|
|
"returnType": "Result<FileSettingsValue>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "save",
|
|
"owner": "FileSettings",
|
|
"params": [
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FileSettingsValue",
|
|
"methods": [
|
|
"default",
|
|
"validate",
|
|
"public_value"
|
|
],
|
|
"properties": [
|
|
"always_ask",
|
|
"download_slots",
|
|
"upload_slots",
|
|
"limit_download",
|
|
"limit_upload",
|
|
"download_mib",
|
|
"upload_mib",
|
|
"approved_download_dir"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "FileSettingsPatch",
|
|
"methods": [],
|
|
"properties": [
|
|
"always_ask",
|
|
"download_slots",
|
|
"upload_slots",
|
|
"limit_download",
|
|
"limit_upload",
|
|
"download_mib",
|
|
"upload_mib"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "FileSettings",
|
|
"methods": [
|
|
"open",
|
|
"value",
|
|
"download_location",
|
|
"patched",
|
|
"save"
|
|
],
|
|
"properties": [
|
|
"path",
|
|
"value",
|
|
"load_error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"FileSettingsValue",
|
|
"validate",
|
|
"public_value",
|
|
"FileSettingsPatch",
|
|
"FileSettings",
|
|
"open",
|
|
"value",
|
|
"download_location",
|
|
"patched",
|
|
"save"
|
|
],
|
|
"totalLines": 98,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/file_settings_tests.rs": {
|
|
"filePath": "native/src/services/file_settings_tests.rs",
|
|
"contentHash": "bb9a7df3defdd6d511fe545ef15deeb935d6bd3e2ef9128aea9d4f34f8259381",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "defaults_patch_restart_and_private_location",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "corrupt_settings_are_retained_until_explicit_save",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "failed_save_does_not_publish_memory",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 34,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/files.rs": {
|
|
"filePath": "native/src/services/files.rs",
|
|
"contentHash": "06c3127cab58d247c3752054b0d2270960265e0221b28f917c50dc8a5d088a8d",
|
|
"functions": [
|
|
{
|
|
"name": "is_current",
|
|
"owner": null,
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ensure_current",
|
|
"owner": "",
|
|
"params": [
|
|
"access",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "stale",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "invalid",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "core_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "checked_request",
|
|
"owner": "",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "from_chooser",
|
|
"owner": "DirectoryGrant",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "with_lease",
|
|
"owner": "DirectoryGrant",
|
|
"params": [
|
|
"lease"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "display_path",
|
|
"owner": "DirectoryGrant",
|
|
"params": [],
|
|
"returnType": "&Path",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "checked_path",
|
|
"owner": "DirectoryGrant",
|
|
"params": [],
|
|
"returnType": "Result<&Path>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "from_file",
|
|
"owner": "PickedFile",
|
|
"params": [
|
|
"file",
|
|
"name"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "from_descriptor",
|
|
"owner": "PickedFile",
|
|
"params": [
|
|
"file",
|
|
"name"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "prepare_read",
|
|
"owner": "PickedFile",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check_unchanged",
|
|
"owner": "PickedFile",
|
|
"params": [
|
|
"read_length"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "with_lease",
|
|
"owner": "PickedFile",
|
|
"params": [
|
|
"lease"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "PickedFile",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "PickedFile",
|
|
"params": [
|
|
"max"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SessionFileGrant",
|
|
"params": [
|
|
"key",
|
|
"file"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "name",
|
|
"owner": "SessionFileGrant",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "SessionFileGrant",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"max"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "remote_name",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "allowed",
|
|
"owner": "Overwrite",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "Limits",
|
|
"params": [],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 2
|
|
},
|
|
{
|
|
"name": "decreases",
|
|
"owner": "Limits",
|
|
"params": [
|
|
"old"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "TransferRecord",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<(u32, Self)>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "terminal",
|
|
"owner": "TransferRecord",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"settings",
|
|
"private_staging"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "prune",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "add",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"key",
|
|
"capability"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "capability",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"key",
|
|
"token"
|
|
],
|
|
"returnType": "Result<Capability>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "choose_download",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"chooser"
|
|
],
|
|
"returnType": "Result<Option<SelectedDirectory>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "download_dialog_default",
|
|
"owner": "FilesService",
|
|
"params": [],
|
|
"returnType": "Option<&Path>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default_download",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"resolved"
|
|
],
|
|
"returnType": "Result<SelectedDirectory>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "authorize_directory",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"dir"
|
|
],
|
|
"returnType": "Result<SelectedDirectory>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "choose_default",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"chooser"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "copy_default",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"copy"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "open_folder",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"token",
|
|
"open"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "choose_upload",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"chooser"
|
|
],
|
|
"returnType": "Result<UploadSelection>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "download",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"options"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "upload",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"options"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "request_transfer",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "join",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"command",
|
|
"capability"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "on_event",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"event"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "set_settings",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"patch"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "rebalance",
|
|
"owner": "FilesService",
|
|
"params": [
|
|
"access",
|
|
"settings"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SessionAccess",
|
|
"methods": [
|
|
"is_current",
|
|
"request"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "DirectoryGrant",
|
|
"methods": [
|
|
"from_chooser",
|
|
"with_lease",
|
|
"display_path",
|
|
"checked_path"
|
|
],
|
|
"properties": [
|
|
"path",
|
|
"lease"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "PickedFile",
|
|
"methods": [
|
|
"from_file",
|
|
"from_descriptor",
|
|
"prepare_read",
|
|
"check_unchanged",
|
|
"with_lease",
|
|
"name",
|
|
"read_bounded"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"name",
|
|
"lease",
|
|
"consumed",
|
|
"selected"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "SessionFileGrant",
|
|
"methods": [
|
|
"new",
|
|
"name",
|
|
"read_bounded"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"file",
|
|
"expires"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StagedUpload",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"path"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Capability",
|
|
"methods": [],
|
|
"properties": [
|
|
"Directory",
|
|
"Upload"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TokenEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"capability",
|
|
"expires"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SelectedDirectory",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"label"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SelectedUpload",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"name",
|
|
"size"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UploadSelection",
|
|
"methods": [],
|
|
"properties": [
|
|
"files",
|
|
"skipped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Overwrite",
|
|
"methods": [
|
|
"allowed"
|
|
],
|
|
"properties": [
|
|
"Refuse",
|
|
"Confirmed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DownloadOptions",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"channel_id",
|
|
"path",
|
|
"password",
|
|
"subdirs",
|
|
"overwrite"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "UploadOptions",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"channel_id",
|
|
"directory",
|
|
"password",
|
|
"overwrite"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "Limits",
|
|
"methods": [
|
|
"command",
|
|
"decreases"
|
|
],
|
|
"properties": [
|
|
"download_slots",
|
|
"upload_slots",
|
|
"download_limit",
|
|
"upload_limit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TransferRecord",
|
|
"methods": [
|
|
"parse",
|
|
"terminal"
|
|
],
|
|
"properties": [
|
|
"direction",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CoreTransfers",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"records",
|
|
"pending",
|
|
"config"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FilesService",
|
|
"methods": [
|
|
"new",
|
|
"prune",
|
|
"add",
|
|
"capability",
|
|
"release",
|
|
"choose_download",
|
|
"download_dialog_default",
|
|
"default_download",
|
|
"authorize_directory",
|
|
"choose_default",
|
|
"copy_default",
|
|
"open_folder",
|
|
"choose_upload",
|
|
"download",
|
|
"upload",
|
|
"control",
|
|
"request_transfer",
|
|
"join",
|
|
"on_event",
|
|
"on_closed",
|
|
"set_settings",
|
|
"rebalance"
|
|
],
|
|
"properties": [
|
|
"settings",
|
|
"tokens",
|
|
"order",
|
|
"cores",
|
|
"retained",
|
|
"unacknowledged",
|
|
"staging",
|
|
"last_used",
|
|
"scheduler_error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"future::Future",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"file_transfer::Request"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"ConnectionManager",
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"SessionAccess",
|
|
"ensure_current",
|
|
"checked_request",
|
|
"DirectoryGrant",
|
|
"from_chooser",
|
|
"with_lease",
|
|
"display_path",
|
|
"checked_path",
|
|
"PickedFile",
|
|
"from_file",
|
|
"from_descriptor",
|
|
"with_lease",
|
|
"name",
|
|
"read_bounded",
|
|
"SessionFileGrant",
|
|
"new",
|
|
"name",
|
|
"read_bounded",
|
|
"SelectedDirectory",
|
|
"SelectedUpload",
|
|
"UploadSelection",
|
|
"Overwrite",
|
|
"DownloadOptions",
|
|
"UploadOptions",
|
|
"FilesService",
|
|
"new",
|
|
"release",
|
|
"choose_download",
|
|
"download_dialog_default",
|
|
"default_download",
|
|
"choose_default",
|
|
"copy_default",
|
|
"open_folder",
|
|
"choose_upload",
|
|
"download",
|
|
"upload",
|
|
"control",
|
|
"request_transfer",
|
|
"on_event",
|
|
"on_closed",
|
|
"set_settings"
|
|
],
|
|
"totalLines": 430,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/files_tests.rs": {
|
|
"filePath": "native/src/services/files_tests.rs",
|
|
"contentHash": "fccea596afb424516eaec11fde2e94cbf5814381142d5c27fc7f8956d1e4a0f1",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "service",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "FilesService",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "grant",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "DirectoryGrant",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Access",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_current",
|
|
"owner": null,
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "download",
|
|
"owner": "",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "DownloadOptions",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"future"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "chooser_cancel_stale_tokens_and_expiry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "descriptor_upload_retained_until_terminal_and_original_untouched",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "validates_typed_commands_and_rejects_response_after_reconnect",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "total_rate_division_decreases_before_second_start_and_pause_releases_share",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "token_cap_and_scoped_descriptor_limit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "rejected_limit_change_retains_saved_policy_and_cancel_is_typed",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "missing_explicit_destination_never_falls_back",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "selected_descriptor_growth_shrink_and_timestamp_changes_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "browser_channel_zero_operations_never_reach_core",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "privileged_icons_join_global_limits_before_first_enqueue",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 38
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"service",
|
|
"grant",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Access",
|
|
"methods": [
|
|
"new",
|
|
"is_current",
|
|
"request"
|
|
],
|
|
"properties": [
|
|
"generation",
|
|
"commands",
|
|
"next",
|
|
"change",
|
|
"reject"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Mutex"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 195,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/identities.rs": {
|
|
"filePath": "native/src/services/identities.rs",
|
|
"contentHash": "73aad048dd075b2394b6d9f906f2c019a5d941883aa86573ae9c1386f1414ade",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "core_error",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "store_error",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"native_root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "available",
|
|
"owner": "IdentityService",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "IdentityService",
|
|
"params": [],
|
|
"returnType": "Result<VaultInfo>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onboard",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<IdentityInfo>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "update",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid",
|
|
"name",
|
|
"nickname"
|
|
],
|
|
"returnType": "Result<IdentityInfo>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_default",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid",
|
|
"confirm_uid",
|
|
"warning_accepted"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "import_ini",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"files",
|
|
"warning_accepted"
|
|
],
|
|
"returnType": "Result<ImportOutcome>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "export_ini",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid",
|
|
"private_key_warning_accepted"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "improving_uid",
|
|
"owner": "IdentityService",
|
|
"params": [],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "improve",
|
|
"owner": "IdentityService",
|
|
"params": [
|
|
"uid",
|
|
"target",
|
|
"duration",
|
|
"cancel",
|
|
"progress"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "IdentityService",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate_uid",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "IdentityService",
|
|
"methods": [
|
|
"open",
|
|
"available",
|
|
"list",
|
|
"profile",
|
|
"onboard",
|
|
"create",
|
|
"update",
|
|
"set_default",
|
|
"delete",
|
|
"import_ini",
|
|
"export_ini",
|
|
"improving_uid",
|
|
"improve",
|
|
"close"
|
|
],
|
|
"properties": [
|
|
"store",
|
|
"improving",
|
|
"closed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::Path",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"identity_improve",
|
|
"protocol::ErrorObj",
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"IdentityService",
|
|
"open",
|
|
"list",
|
|
"profile",
|
|
"onboard",
|
|
"create",
|
|
"update",
|
|
"set_default",
|
|
"delete",
|
|
"import_ini",
|
|
"export_ini",
|
|
"improving_uid",
|
|
"improve",
|
|
"close"
|
|
],
|
|
"totalLines": 106,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/identities_tests.rs": {
|
|
"filePath": "native/src/services/identities_tests.rs",
|
|
"contentHash": "352d9324e99f1b86affab8c8cd2b051de1f46b42ca9ba8a584ae893e29a11b57",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "service",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "IdentityService",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "actual_store_crud_defaults_and_restart_preserve_identity",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "ini_export_import_requires_authorization_and_preserves_uid",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "cancellation_is_caller_owned_and_checkpoint_survives_restart",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "corrupt_active_identity_is_not_replaced_by_ini_import_or_onboarding",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Fixture",
|
|
"methods": [
|
|
"new",
|
|
"service",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs",
|
|
"path::PathBuf",
|
|
"sync::atomic::AtomicU64"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 72,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/keybinds.rs": {
|
|
"filePath": "native/src/services/keybinds.rs",
|
|
"contentHash": "238c5eccd318dde10ba932d3cf3ea1d795ad871417cb47eab5b0a5976e0291a2",
|
|
"functions": [
|
|
{
|
|
"name": "kind",
|
|
"owner": "Action",
|
|
"params": [],
|
|
"returnType": "ActionKind",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "group",
|
|
"owner": "Action",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "yes",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "null_yes",
|
|
"owner": "",
|
|
"params": [
|
|
"d"
|
|
],
|
|
"returnType": "std::result::Result<bool,D::Error>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "modifier",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "normalize",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"returnType": "u8",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "chord",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"returnType": "(String,u8)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "core",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"returnType": "hotkeys::Binding",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile_name",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "load_profile",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "Result<(Profile,usize)>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"root",
|
|
"default_profile_name"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "KeybindStore",
|
|
"params": [],
|
|
"returnType": "&KeybindState",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "active_bindings",
|
|
"owner": "KeybindStore",
|
|
"params": [],
|
|
"returnType": "&[Binding]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "index",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<usize>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "persist",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "set_exact",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"exact"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "add_profile",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "rename_profile",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "activate_profile",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "delete_profile",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_bindings",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id",
|
|
"bindings"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "drop_target",
|
|
"owner": "KeybindStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "conflicts",
|
|
"owner": "",
|
|
"params": [
|
|
"bindings",
|
|
"ptt_code",
|
|
"list_ids"
|
|
],
|
|
"returnType": "Vec<Conflict>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "expand_registrations",
|
|
"owner": "",
|
|
"params": [
|
|
"bindings",
|
|
"exact"
|
|
],
|
|
"returnType": "Registrations",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "configure",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"state",
|
|
"ptt",
|
|
"lists"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "global_bindings",
|
|
"owner": "KeybindRuntime",
|
|
"params": [],
|
|
"returnType": "Vec<Binding>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exact",
|
|
"owner": "KeybindRuntime",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capturing",
|
|
"owner": "KeybindRuntime",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_capturing",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_global_registered",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"ids"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "down",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"b",
|
|
"scope"
|
|
],
|
|
"returnType": "Option<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "up",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"id",
|
|
"synthetic"
|
|
],
|
|
"returnType": "Option<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "release_all",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"scope"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "blur",
|
|
"owner": "KeybindRuntime",
|
|
"params": [],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "local_down",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"code",
|
|
"mask",
|
|
"repeat",
|
|
"text_input"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "local_up",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"code",
|
|
"mask"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "global_transition",
|
|
"owner": "KeybindRuntime",
|
|
"params": [
|
|
"id",
|
|
"down",
|
|
"synthetic"
|
|
],
|
|
"returnType": "Option<ActionEvent>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "down",
|
|
"owner": "ChordRecorder",
|
|
"params": [
|
|
"code",
|
|
"mask",
|
|
"repeat"
|
|
],
|
|
"returnType": "RecordResult",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "up",
|
|
"owner": "ChordRecorder",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "RecordResult",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "ChordRecorder",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "GlobalHotkeys",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "GlobalHotkeys",
|
|
"params": [
|
|
"runtime"
|
|
],
|
|
"returnType": "Vec<ActionEvent>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "GlobalHotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "dispatch",
|
|
"owner": "GlobalHotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<usize>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "GlobalHotkeys",
|
|
"params": [
|
|
"runtime",
|
|
"consume"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Action",
|
|
"methods": [
|
|
"kind",
|
|
"group"
|
|
],
|
|
"properties": [
|
|
"PushToTalk",
|
|
"PushToMute",
|
|
"MicrophoneToggle",
|
|
"MicrophoneMute",
|
|
"MicrophoneUnmute",
|
|
"SpeakerToggle",
|
|
"SpeakerMute",
|
|
"SpeakerUnmute",
|
|
"AwayToggle",
|
|
"AwayOnline",
|
|
"AwaySet",
|
|
"AwayToggleMessage",
|
|
"ReplyWhisper",
|
|
"QuickWhisper",
|
|
"WhisperList",
|
|
"GoLiveCurrent",
|
|
"RecordingStart",
|
|
"RecordingStop",
|
|
"RecordingTogglePause",
|
|
"DisconnectCurrent",
|
|
"DisconnectAll",
|
|
"TalkPowerRequest",
|
|
"TalkPowerGrantNext"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ActionKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Hold",
|
|
"Press",
|
|
"Trigger"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Binding",
|
|
"methods": [
|
|
"normalize",
|
|
"mask",
|
|
"chord",
|
|
"core"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"action",
|
|
"target",
|
|
"code",
|
|
"ctrl",
|
|
"alt",
|
|
"shift",
|
|
"meta",
|
|
"global"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Profile",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name",
|
|
"bindings"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "KeybindState",
|
|
"methods": [],
|
|
"properties": [
|
|
"require_exact_match",
|
|
"active_profile",
|
|
"profiles"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "KeybindStore",
|
|
"methods": [
|
|
"open",
|
|
"get",
|
|
"active_bindings",
|
|
"index",
|
|
"persist",
|
|
"set_exact",
|
|
"add_profile",
|
|
"rename_profile",
|
|
"activate_profile",
|
|
"delete_profile",
|
|
"set_bindings",
|
|
"drop_target"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"state",
|
|
"read_only",
|
|
"diagnostic",
|
|
"dropped_on_load",
|
|
"migrated_from"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConflictReason",
|
|
"methods": [],
|
|
"properties": [
|
|
"Duplicate",
|
|
"Ptt",
|
|
"SelectList"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Conflict",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Registrations",
|
|
"methods": [],
|
|
"properties": [
|
|
"bindings",
|
|
"variant_of",
|
|
"variants_wanted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Scope",
|
|
"methods": [],
|
|
"properties": [
|
|
"Local",
|
|
"Global"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Phase",
|
|
"methods": [],
|
|
"properties": [
|
|
"Start",
|
|
"End",
|
|
"Trigger"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ActionEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"binding",
|
|
"scope",
|
|
"phase"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Held",
|
|
"methods": [],
|
|
"properties": [
|
|
"binding",
|
|
"scope"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "KeybindRuntime",
|
|
"methods": [
|
|
"configure",
|
|
"global_bindings",
|
|
"exact",
|
|
"capturing",
|
|
"set_capturing",
|
|
"set_global_registered",
|
|
"down",
|
|
"up",
|
|
"release_all",
|
|
"blur",
|
|
"local_down",
|
|
"local_up",
|
|
"global_transition"
|
|
],
|
|
"properties": [
|
|
"bindings",
|
|
"exact",
|
|
"held",
|
|
"pressed",
|
|
"globally_registered",
|
|
"capturing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Chord",
|
|
"methods": [],
|
|
"properties": [
|
|
"code",
|
|
"mask"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "RecordResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"None",
|
|
"Update",
|
|
"Complete",
|
|
"Cancel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChordRecorder",
|
|
"methods": [
|
|
"down",
|
|
"up",
|
|
"cancel"
|
|
],
|
|
"properties": [
|
|
"down",
|
|
"chord"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "GlobalHotkeys",
|
|
"methods": [
|
|
"start",
|
|
"release",
|
|
"bind",
|
|
"dispatch",
|
|
"stop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"backend",
|
|
"seq",
|
|
"variant_of",
|
|
"accepting",
|
|
"held_variants",
|
|
"status"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::whisper",
|
|
"specifiers": [
|
|
"bad",
|
|
"normalize_id",
|
|
"text",
|
|
"null_default"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"hotkeys",
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Action",
|
|
"ActionKind",
|
|
"kind",
|
|
"Binding",
|
|
"normalize",
|
|
"mask",
|
|
"Profile",
|
|
"KeybindState",
|
|
"KeybindStore",
|
|
"open",
|
|
"get",
|
|
"active_bindings",
|
|
"set_exact",
|
|
"add_profile",
|
|
"rename_profile",
|
|
"activate_profile",
|
|
"delete_profile",
|
|
"set_bindings",
|
|
"drop_target",
|
|
"ConflictReason",
|
|
"Conflict",
|
|
"conflicts",
|
|
"Registrations",
|
|
"expand_registrations",
|
|
"Scope",
|
|
"Phase",
|
|
"ActionEvent",
|
|
"KeybindRuntime",
|
|
"configure",
|
|
"global_bindings",
|
|
"exact",
|
|
"capturing",
|
|
"set_capturing",
|
|
"set_global_registered",
|
|
"release_all",
|
|
"blur",
|
|
"local_down",
|
|
"local_up",
|
|
"global_transition",
|
|
"Chord",
|
|
"RecordResult",
|
|
"ChordRecorder",
|
|
"down",
|
|
"up",
|
|
"cancel",
|
|
"GlobalHotkeys",
|
|
"start",
|
|
"bind",
|
|
"dispatch",
|
|
"stop"
|
|
],
|
|
"totalLines": 303,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/keybinds_tests.rs": {
|
|
"filePath": "native/src/services/keybinds_tests.rs",
|
|
"contentHash": "b24eb569c3380d45b9b6d7c06a16028ac22bf65dffa0ae6a28c94db1e6c49dc6",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "binding",
|
|
"owner": "",
|
|
"params": [
|
|
"action",
|
|
"code"
|
|
],
|
|
"returnType": "Binding",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "runtime",
|
|
"owner": "",
|
|
"params": [
|
|
"bindings",
|
|
"exact"
|
|
],
|
|
"returnType": "KeybindRuntime",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "v1_preserves_ids_targets_flags_and_backup_after_two_restarts",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "migration_grandfathers_group_count_but_never_allows_growth",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "profile_crud_and_failed_save_leave_memory_and_disk_unchanged",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "conflicts_block_both_duplicates_ptt_and_missing_list",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "exact_physical_matching_and_most_specific_chord",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "cancellation_ends_holds_never_fires_triggers",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "recorder_cancel_has_no_partial_binding",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "expansion_reserves_exact_chords_and_respects_limit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "malformed_and_future_stores_are_not_overwritten_on_open",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default_global_adapter_never_registers_and_stop_synthetically_releases",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 65,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/media.rs": {
|
|
"filePath": "native/src/services/media.rs",
|
|
"contentHash": "8d8b95e6e85a675decf3b2ebb7f62efcbbf18cd403f85adcb34c9bcfb6c4ac90",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancelled",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wait",
|
|
"owner": "Cancellation",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "HttpFetch",
|
|
"params": [],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "HttpFetch",
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Result<FetchResponse>",
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "http_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "http_url",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"max"
|
|
],
|
|
"returnType": "Result<Url>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "now_ms",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "with_fetch",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"enabled",
|
|
"fetch"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "on_snapshot",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"key",
|
|
"snapshot"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "authorize_core_response",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"key",
|
|
"target",
|
|
"error"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "authorize",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"key",
|
|
"target",
|
|
"url"
|
|
],
|
|
"returnType": "Result<MediaGrant>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"grant"
|
|
],
|
|
"returnType": "Result<Cancellation>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "fetch",
|
|
"owner": "MediaService",
|
|
"params": [
|
|
"grant"
|
|
],
|
|
"returnType": "Result<ImageData>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "target_changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sniff_image",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "image_data",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<ImageData>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "from_picker",
|
|
"owner": "AvatarSelection",
|
|
"params": [
|
|
"key",
|
|
"reader",
|
|
"size"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "read",
|
|
"owner": "AvatarSelection",
|
|
"params": [
|
|
"current"
|
|
],
|
|
"returnType": "Result<ImageData>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Cancellation",
|
|
"methods": [
|
|
"new",
|
|
"cancel",
|
|
"cancelled",
|
|
"wait"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Redirects",
|
|
"methods": [],
|
|
"properties": [
|
|
"Reject",
|
|
"HttpOnly"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FetchRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"url",
|
|
"accept",
|
|
"limit",
|
|
"timeout",
|
|
"redirects",
|
|
"cancel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "FetchResponse",
|
|
"methods": [],
|
|
"properties": [
|
|
"url",
|
|
"body"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Fetch",
|
|
"methods": [
|
|
"get"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "HttpFetch",
|
|
"methods": [
|
|
"new",
|
|
"request",
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MediaTarget",
|
|
"methods": [],
|
|
"properties": [
|
|
"Avatar",
|
|
"ChannelBanner",
|
|
"ServerBanner"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "MediaGrant",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"target",
|
|
"url"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ImageData",
|
|
"methods": [],
|
|
"properties": [
|
|
"mime",
|
|
"bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MediaSession",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"targets",
|
|
"cancel"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "MediaService",
|
|
"methods": [
|
|
"new",
|
|
"with_fetch",
|
|
"on_snapshot",
|
|
"on_closed",
|
|
"authorize_core_response",
|
|
"authorize",
|
|
"check",
|
|
"fetch"
|
|
],
|
|
"properties": [
|
|
"enabled",
|
|
"fetch",
|
|
"sessions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "AvatarSelection",
|
|
"methods": [
|
|
"from_picker",
|
|
"read"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"reader",
|
|
"size"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "reqwest",
|
|
"specifiers": [
|
|
"Url"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Read",
|
|
"path::Path",
|
|
"pin::Pin"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"watch"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Cancellation",
|
|
"new",
|
|
"cancel",
|
|
"cancelled",
|
|
"wait",
|
|
"Redirects",
|
|
"FetchRequest",
|
|
"FetchResponse",
|
|
"Fetch",
|
|
"HttpFetch",
|
|
"new",
|
|
"http_url",
|
|
"now_ms",
|
|
"read_bounded",
|
|
"MediaTarget",
|
|
"MediaGrant",
|
|
"ImageData",
|
|
"MediaService",
|
|
"new",
|
|
"with_fetch",
|
|
"on_snapshot",
|
|
"on_closed",
|
|
"authorize_core_response",
|
|
"authorize",
|
|
"fetch",
|
|
"sniff_image",
|
|
"AvatarSelection",
|
|
"from_picker",
|
|
"read"
|
|
],
|
|
"totalLines": 272,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/media_tests.rs": {
|
|
"filePath": "native/src/services/media_tests.rs",
|
|
"contentHash": "530c87bcbfdb9ebda9b8cf07e340b9ce7c215c5984a82c0403760b821701a76e",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"session"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "target",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "MediaTarget",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "",
|
|
"params": [
|
|
"uid"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "credentials_schemes_and_oversized_urls_are_refused",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "image_bytes_not_claimed_mime_decide_supported_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "only_announced_target_session_can_fetch",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "oversized_or_active_content_and_disabled_network_fail",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "recycled_client_id_during_fetch_never_receives_old_avatar",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "avatar_picker_grant_is_descriptor_bounded_and_generation_bound",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "core_external_response_requires_same_live_uid_and_session",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FixtureFetch",
|
|
"methods": [
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"body",
|
|
"calls"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DelayedFetch",
|
|
"methods": [
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"started",
|
|
"release"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Cursor"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 120,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/mod.rs": {
|
|
"filePath": "native/src/services/mod.rs",
|
|
"contentHash": "47a73ea1dfb0c125736f9ba17fa4ceee44f1943f040d91a940f077b231eea5f1",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "ServiceError",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ServiceError",
|
|
"methods": [
|
|
"new",
|
|
"from",
|
|
"from"
|
|
],
|
|
"properties": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ServiceError",
|
|
"new"
|
|
],
|
|
"totalLines": 51,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/notifications.rs": {
|
|
"filePath": "native/src/services/notifications.rs",
|
|
"contentHash": "e0da918450ba769866fa07bce1b59c8d18f6b5c26e9e3058a8134254b4f08f9d",
|
|
"functions": [
|
|
{
|
|
"name": "setting",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<(&'static GroupSpec, &'static SettingSpec)>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "events",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<&'static [EventSpec]>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "event_sound",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"event"
|
|
],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "NotificationPrefs",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "setting_state",
|
|
"owner": "NotificationPrefs",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "u8",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "is_advanced",
|
|
"owner": "NotificationPrefs",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "event_state",
|
|
"owner": "NotificationPrefs",
|
|
"params": [
|
|
"id",
|
|
"event"
|
|
],
|
|
"returnType": "u8",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "with_state",
|
|
"owner": "NotificationPrefs",
|
|
"params": [
|
|
"key",
|
|
"state"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "sound_allowed",
|
|
"owner": "NotificationPrefs",
|
|
"params": [
|
|
"id",
|
|
"event",
|
|
"flags",
|
|
"sound"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "device",
|
|
"owner": "NotificationPrefs",
|
|
"params": [],
|
|
"returnType": "NotificationDevice",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "gain",
|
|
"owner": "NotificationPrefs",
|
|
"params": [],
|
|
"returnType": "f64",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "client",
|
|
"owner": "Snapshot",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Option<&Client>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "own",
|
|
"owner": "Snapshot",
|
|
"params": [],
|
|
"returnType": "Option<&Client>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "channel",
|
|
"owner": "Snapshot",
|
|
"params": [],
|
|
"returnType": "Option<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "DirectEvent",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"owner": "Connection",
|
|
"params": [],
|
|
"returnType": "OwnFlags",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "unread_total",
|
|
"owner": "Connection",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"prefs"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "prefs",
|
|
"owner": "Notifications",
|
|
"params": [],
|
|
"returnType": "&NotificationPrefs",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_revision",
|
|
"owner": "Notifications",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "acknowledge_output_revision",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"revision"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "set_presentation",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"presentation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_ignored_uids",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"uids"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "sink",
|
|
"owner": "Notifications",
|
|
"params": [],
|
|
"returnType": "Option<OutputSink>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "configure",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"prefs",
|
|
"voice_device"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "bind_session",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "event_log",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<&VecDeque<LogEntry>>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "unread_count",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "conversation_unread",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"chat"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "view_chat",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"view"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "set_older_history",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"chat",
|
|
"older"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "read_latest",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"chat"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "clear_unread",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"chat",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "badge",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"setting_id",
|
|
"event",
|
|
"now_ms"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "handle",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"input",
|
|
"now_ms"
|
|
],
|
|
"returnType": "Result<Vec<NotificationEffect>>",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "log",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"conn",
|
|
"event",
|
|
"params",
|
|
"now_ms",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"conn",
|
|
"id",
|
|
"event",
|
|
"sound",
|
|
"params",
|
|
"now",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "play",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"key",
|
|
"sound",
|
|
"preview",
|
|
"now",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"conn",
|
|
"snapshot",
|
|
"now",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "server",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"conn",
|
|
"event",
|
|
"now",
|
|
"out"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 67
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "Notifications",
|
|
"params": [
|
|
"conn",
|
|
"event",
|
|
"now",
|
|
"out"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "params",
|
|
"owner": "",
|
|
"params": [
|
|
"values"
|
|
],
|
|
"returnType": "BTreeMap<String, String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "server_params",
|
|
"owner": "",
|
|
"params": [
|
|
"conn",
|
|
"id",
|
|
"details"
|
|
],
|
|
"returnType": "BTreeMap<String, String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "changed",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "truncate_utf16",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"max"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SoundOutputLimits",
|
|
"methods": [],
|
|
"properties": [
|
|
"max_active",
|
|
"max_seconds",
|
|
"max_file_bytes",
|
|
"cache_bytes",
|
|
"max_channels",
|
|
"idle_close_ms"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "EventSpec",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"sound"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SettingSpec",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"default",
|
|
"events",
|
|
"preview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "GroupSpec",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"settings"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SoundSpec",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"file",
|
|
"repeat_ms"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationPrefs",
|
|
"methods": [
|
|
"default",
|
|
"validate",
|
|
"setting_state",
|
|
"is_advanced",
|
|
"event_state",
|
|
"with_state",
|
|
"sound_allowed",
|
|
"device",
|
|
"gain"
|
|
],
|
|
"properties": [
|
|
"notification_states",
|
|
"notification_device_id",
|
|
"notification_level_db",
|
|
"system_notify_server_private",
|
|
"system_notify_channel_chat",
|
|
"os_flash_on_message",
|
|
"os_flash_on_poke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "NotificationDevice",
|
|
"methods": [],
|
|
"properties": [
|
|
"Voice",
|
|
"SystemDefault",
|
|
"None",
|
|
"Explicit"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OutputSink",
|
|
"methods": [],
|
|
"properties": [
|
|
"SystemDefault",
|
|
"Explicit"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OwnFlags",
|
|
"methods": [],
|
|
"properties": [
|
|
"away",
|
|
"output_muted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Client",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"uid",
|
|
"nickname",
|
|
"is_self",
|
|
"channel_id",
|
|
"away",
|
|
"output_muted",
|
|
"channel_group_id",
|
|
"server_groups",
|
|
"is_recording"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Snapshot",
|
|
"methods": [
|
|
"client",
|
|
"own",
|
|
"channel"
|
|
],
|
|
"properties": [
|
|
"own_client_id",
|
|
"clients"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MoveReason",
|
|
"methods": [],
|
|
"properties": [
|
|
"None",
|
|
"Moved",
|
|
"KickChannel",
|
|
"KickServer",
|
|
"Ban",
|
|
"LostConnection",
|
|
"Other"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Actor",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "EventDetails",
|
|
"methods": [],
|
|
"properties": [
|
|
"nickname",
|
|
"invoker",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "ChannelChange",
|
|
"methods": [],
|
|
"properties": [
|
|
"Created",
|
|
"Edited",
|
|
"Deleted",
|
|
"Moved"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ServerEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"ClientEnter",
|
|
"ClientLeave",
|
|
"ClientMove",
|
|
"Channel",
|
|
"ServerEdited",
|
|
"TalkRequest",
|
|
"TalkerChanged"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "TextTarget",
|
|
"methods": [],
|
|
"properties": [
|
|
"Client",
|
|
"Channel",
|
|
"Server",
|
|
"Poke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TextEvent",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"from_client_id",
|
|
"to_client_id",
|
|
"from_uid",
|
|
"from_nickname",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ConnectionState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Connected",
|
|
"Disconnected",
|
|
"ConnectFailed",
|
|
"ConnectionLost"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DirectEvent",
|
|
"methods": [
|
|
"id"
|
|
],
|
|
"properties": [
|
|
"MessageSent",
|
|
"WhisperReceived",
|
|
"WhisperWhileMuted",
|
|
"WhisperError",
|
|
"StreamStarted",
|
|
"StreamStopped",
|
|
"RecordingStarted",
|
|
"RecordingStopped",
|
|
"RecordingPaused",
|
|
"RecordingResumed",
|
|
"TalkingWhileMuted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "NotificationInput",
|
|
"methods": [],
|
|
"properties": [
|
|
"Snapshot",
|
|
"Server",
|
|
"Text",
|
|
"State",
|
|
"AudioState",
|
|
"WhisperReceived",
|
|
"Direct",
|
|
"Error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Conversation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Server",
|
|
"Channel",
|
|
"Client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LogEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"time_ms",
|
|
"key",
|
|
"params"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SystemKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Private",
|
|
"Channel",
|
|
"Poke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FlashKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Message",
|
|
"Poke"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "NotificationEffect",
|
|
"methods": [],
|
|
"properties": [
|
|
"Sound",
|
|
"System",
|
|
"Flash",
|
|
"Log",
|
|
"Unread",
|
|
"Badge",
|
|
"StopSounds",
|
|
"SetSoundGain"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "Presentation",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"focused",
|
|
"prohibit_os_effects"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"methods": [
|
|
"flags",
|
|
"unread_total"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"snapshot",
|
|
"has_snapshot_baseline",
|
|
"last_audio",
|
|
"logs",
|
|
"unread"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Notifications",
|
|
"methods": [
|
|
"new",
|
|
"prefs",
|
|
"output_revision",
|
|
"acknowledge_output_revision",
|
|
"set_presentation",
|
|
"set_ignored_uids",
|
|
"sink",
|
|
"configure",
|
|
"bind_session",
|
|
"check",
|
|
"close",
|
|
"event_log",
|
|
"unread_count",
|
|
"conversation_unread",
|
|
"view_chat",
|
|
"set_older_history",
|
|
"read_latest",
|
|
"clear_unread",
|
|
"badge",
|
|
"preview",
|
|
"handle",
|
|
"log",
|
|
"notify",
|
|
"play",
|
|
"snapshot",
|
|
"server",
|
|
"text"
|
|
],
|
|
"properties": [
|
|
"prefs",
|
|
"voice_device",
|
|
"output_revision",
|
|
"connections",
|
|
"last_played",
|
|
"ignored_uids",
|
|
"presentation",
|
|
"visible_chat",
|
|
"older_chats",
|
|
"last_badge"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashMap",
|
|
"HashSet",
|
|
"VecDeque"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"SoundOutputLimits",
|
|
"EventSpec",
|
|
"SettingSpec",
|
|
"GroupSpec",
|
|
"SoundSpec",
|
|
"setting",
|
|
"events",
|
|
"event_sound",
|
|
"NotificationPrefs",
|
|
"validate",
|
|
"setting_state",
|
|
"is_advanced",
|
|
"event_state",
|
|
"with_state",
|
|
"sound_allowed",
|
|
"device",
|
|
"gain",
|
|
"NotificationDevice",
|
|
"OutputSink",
|
|
"OwnFlags",
|
|
"Client",
|
|
"Snapshot",
|
|
"MoveReason",
|
|
"Actor",
|
|
"EventDetails",
|
|
"ChannelChange",
|
|
"ServerEvent",
|
|
"TextTarget",
|
|
"TextEvent",
|
|
"ConnectionState",
|
|
"DirectEvent",
|
|
"NotificationInput",
|
|
"Conversation",
|
|
"LogEntry",
|
|
"SystemKind",
|
|
"FlashKind",
|
|
"NotificationEffect",
|
|
"Presentation",
|
|
"Notifications",
|
|
"new",
|
|
"prefs",
|
|
"output_revision",
|
|
"acknowledge_output_revision",
|
|
"set_presentation",
|
|
"set_ignored_uids",
|
|
"sink",
|
|
"configure",
|
|
"bind_session",
|
|
"close",
|
|
"event_log",
|
|
"unread_count",
|
|
"conversation_unread",
|
|
"view_chat",
|
|
"set_older_history",
|
|
"read_latest",
|
|
"preview",
|
|
"handle"
|
|
],
|
|
"totalLines": 730,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/notifications_tests.rs": {
|
|
"filePath": "native/src/services/notifications_tests.rs",
|
|
"contentHash": "a5c44236af04327b1159087216ed16b390e2ecb8ede45ceae5dc11e92223ad51",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Snapshot",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "setup",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "(Notifications, SessionKey)",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "TextEvent",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "files",
|
|
"owner": "",
|
|
"params": [
|
|
"effects"
|
|
],
|
|
"returnType": "Vec<&'static str>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "logs",
|
|
"owner": "",
|
|
"params": [
|
|
"effects"
|
|
],
|
|
"returnType": "Vec<&str>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "configure_state",
|
|
"owner": "",
|
|
"params": [
|
|
"policy",
|
|
"name",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "",
|
|
"params": [
|
|
"policy",
|
|
"key",
|
|
"event",
|
|
"time"
|
|
],
|
|
"returnType": "Vec<NotificationEffect>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "details",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "EventDetails",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "category_disable_keeps_overrides_and_never_suppresses_logs_or_os_messages",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "hiding_advanced_restores_coalesced_policy_without_erasing_event_choices",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "away_and_output_mute_exemptions_do_not_override_each_other",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "simultaneous_audio_change_uses_new_output_state_and_first_audio_is_baseline",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ignore_filter_uses_event_uid_and_never_drops_own_or_uidless_notices",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "receive_scope_system_flash_and_focus_are_independent_of_sound",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "unread_tracks_visible_conversation_not_window_focus_or_sound_state",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "stale_session_cannot_send_sound_increment_unread_clear_logs_or_change_baseline",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "throttles_are_global_per_file_and_preview_updates_them_but_not_logs",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "notification_output_roles_and_volume_do_not_redirect_voice",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "silent_volume_consumes_throttle_but_none_device_does_not",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "moving_clients_respects_reason_direction_own_and_unknown_sound_suppression",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "joins_leaves_and_removals_outside_own_channel_are_log_only",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "only_own_changes_or_other_edit_of_current_channel_make_edit_sounds",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "talk_request_own_cancel_and_remote_channel_do_not_make_request_sound",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "snapshot_changes_preserve_group_kind_and_recording_uid_identity",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "reconnect_baseline_does_not_announce_old_away_groups_or_recorders",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "direct_sources_use_ack_events_and_local_recording_never_bypasses_mute",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "log_eviction_is_per_connection_even_with_disabled_audio_and_badge_is_global",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "invalid_configuration_is_atomic_and_remote_notification_body_is_bounded",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "whisper_history_name_wins_and_throttling_does_not_drop_log_entries",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "topology_acknowledgment_preserves_old_effect_revision_and_future_route_order",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 452,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/prefs.rs": {
|
|
"filePath": "native/src/services/prefs.rs",
|
|
"contentHash": "bb65c6e19bec1556f0fd18578ddae67845f076b32a1d819dcee06aa6f7520172",
|
|
"functions": [
|
|
{
|
|
"name": "err",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"lo",
|
|
"hi"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "string",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"max",
|
|
"controls"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choice",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"options"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exact",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"keys"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "input_default",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "output_default",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "defaults",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 70
|
|
},
|
|
{
|
|
"name": "valid_uid",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "people",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"contacts"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"input"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "dsp",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"input"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "collapsed",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "style",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_value",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "percent_to_db",
|
|
"owner": "",
|
|
"params": [
|
|
"pct"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "normalize_loaded",
|
|
"owner": "",
|
|
"params": [
|
|
"raw"
|
|
],
|
|
"returnType": "(Value,Vec<String>)",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "DeviceKind",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"owner": "DeviceKind",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dsp",
|
|
"owner": "DeviceKind",
|
|
"params": [],
|
|
"returnType": "Option<&'static str>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "empty_mappings",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_mappings",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "require_recovered_bookmark_transaction",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "Prefs",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_bookmark_committer",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"callback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_identity_validator",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"callback"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "diagnostics",
|
|
"owner": "Prefs",
|
|
"params": [],
|
|
"returnType": "&[String]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "device_mappings",
|
|
"owner": "Prefs",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture_allowed",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"imported"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unresolved_devices",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"kind",
|
|
"legacy"
|
|
],
|
|
"returnType": "Vec<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"partial"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_with_host_policy",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"partial",
|
|
"is_malicious"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "set_recording_folder",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "persist",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"next",
|
|
"mappings"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "map_legacy_device",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"kind",
|
|
"old",
|
|
"native"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "confirm_new_device",
|
|
"owner": "Prefs",
|
|
"params": [
|
|
"kind",
|
|
"native"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "DeviceKind",
|
|
"methods": [
|
|
"key",
|
|
"selection",
|
|
"dsp"
|
|
],
|
|
"properties": [
|
|
"Input",
|
|
"Output",
|
|
"Notification"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Prefs",
|
|
"methods": [
|
|
"open",
|
|
"get",
|
|
"set_bookmark_committer",
|
|
"set_identity_validator",
|
|
"diagnostics",
|
|
"device_mappings",
|
|
"capture_allowed",
|
|
"unresolved_devices",
|
|
"set",
|
|
"set_with_host_policy",
|
|
"set_recording_folder",
|
|
"persist",
|
|
"map_legacy_device",
|
|
"confirm_new_device"
|
|
],
|
|
"properties": [
|
|
"path",
|
|
"values",
|
|
"mappings",
|
|
"diagnostics",
|
|
"bookmark_committer",
|
|
"identity_validator",
|
|
"transaction_poisoned",
|
|
"_owner"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"bookmarks",
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"input_default",
|
|
"output_default",
|
|
"defaults",
|
|
"valid_uid",
|
|
"validate_value",
|
|
"percent_to_db",
|
|
"normalize_loaded",
|
|
"DeviceKind",
|
|
"Prefs",
|
|
"open",
|
|
"get",
|
|
"set_bookmark_committer",
|
|
"set_identity_validator",
|
|
"diagnostics",
|
|
"device_mappings",
|
|
"capture_allowed",
|
|
"unresolved_devices",
|
|
"set",
|
|
"set_with_host_policy",
|
|
"set_recording_folder",
|
|
"map_legacy_device",
|
|
"confirm_new_device"
|
|
],
|
|
"totalLines": 241,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/prefs_tests.rs": {
|
|
"filePath": "native/src/services/prefs_tests.rs",
|
|
"contentHash": "0935985b85803e1d745b2943c1203bc34032d0b161cb5b92d4fa9929b82997e3",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "path",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "every_default_passes_schema_and_boundaries_are_strict",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "migrations_preserve_voice_choices_layout_and_confirmation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "corrupt_bytes_preserved_owner_lock_and_explicit_save",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "failed_atomic_write_keeps_file_memory_and_diagnostics",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "bookmark_order_and_secret_write_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "phishing_guard_has_no_generic_patch_bypass",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mapping_preserves_selected_dsp_unresolved_entries_roles_and_restart",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "unrelated_mapping_cannot_confirm_selected_microphone",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "imported_corruption_sidecar_survives_explicit_save",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "failed_mapping_does_not_confirm_capture_or_change_profile",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "uid_assignments_use_vault_validator_before_save",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "failed_bookmark_pair_commit_retains_preference_memory_and_disk",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "pending_secret_transaction_blocks_open_and_all_preference_writes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "uncertain_pair_commit_latches_write_barrier_without_journal",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "repeated_mapping_reconfirms_selected_native_input_without_replacing_dsp",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Fixture",
|
|
"methods": [
|
|
"new",
|
|
"path",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"Arc",
|
|
"Mutex"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 108,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/privacy.rs": {
|
|
"filePath": "native/src/services/privacy.rs",
|
|
"contentHash": "a379cd3936f82bee48675a1ff47765e396002ea7da854bc3fd536926d7738c68",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "from_value",
|
|
"owner": "PrivacyPreferences",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "PrivacyPreferences",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "reset_confirmations",
|
|
"owner": "PrivacyPreferences",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_trusted_host",
|
|
"owner": "",
|
|
"params": [
|
|
"host"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate_trusted_hosts_update",
|
|
"owner": "",
|
|
"params": [
|
|
"current",
|
|
"next",
|
|
"malicious"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "url",
|
|
"owner": "LinkPrompt",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "host",
|
|
"owner": "LinkPrompt",
|
|
"params": [],
|
|
"returnType": "Option<&str>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": "LinkPrompt",
|
|
"params": [
|
|
"confirmed",
|
|
"remember"
|
|
],
|
|
"returnType": "Result<Option<ApprovedLink>>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "url",
|
|
"owner": "ApprovedLink",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "remember_host",
|
|
"owner": "ApprovedLink",
|
|
"params": [],
|
|
"returnType": "Option<&str>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepare_link",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"preferences",
|
|
"malicious"
|
|
],
|
|
"returnType": "Result<LinkPrompt>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "empty",
|
|
"owner": "SourceStatus",
|
|
"params": [
|
|
"enabled",
|
|
"source"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "PhishingList",
|
|
"params": [
|
|
"profile_root",
|
|
"enabled"
|
|
],
|
|
"returnType": "Result<Arc<Self>>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "with_fetch",
|
|
"owner": "PhishingList",
|
|
"params": [
|
|
"cache",
|
|
"enabled",
|
|
"fetch"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "has",
|
|
"owner": "PhishingList",
|
|
"params": [
|
|
"host"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "PhishingList",
|
|
"params": [],
|
|
"returnType": "SourceStatus",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "PhishingList",
|
|
"params": [
|
|
"self"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "PhishingList",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "load_cache",
|
|
"owner": "PhishingList",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "refresh",
|
|
"owner": "PhishingList",
|
|
"params": [],
|
|
"returnType": "SourceStatus",
|
|
"exported": true,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_domain",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "parse_list",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<HashSet<String>>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PrivacyPreferences",
|
|
"methods": [
|
|
"default",
|
|
"from_value",
|
|
"validate",
|
|
"reset_confirmations"
|
|
],
|
|
"properties": [
|
|
"trusted_external_hosts",
|
|
"allow_whitelist_malicious",
|
|
"confirmation_settings"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "LinkDecision",
|
|
"methods": [],
|
|
"properties": [
|
|
"Pass",
|
|
"Warn",
|
|
"WarnMalicious"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LinkPrompt",
|
|
"methods": [
|
|
"url",
|
|
"host",
|
|
"resolve"
|
|
],
|
|
"properties": [
|
|
"url",
|
|
"host",
|
|
"decision",
|
|
"can_trust"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ApprovedLink",
|
|
"methods": [
|
|
"url",
|
|
"remember_host"
|
|
],
|
|
"properties": [
|
|
"url",
|
|
"remember_host"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SourceStatus",
|
|
"methods": [
|
|
"empty"
|
|
],
|
|
"properties": [
|
|
"enabled",
|
|
"source",
|
|
"loaded",
|
|
"count",
|
|
"fetched_at",
|
|
"checked_at",
|
|
"from_cache",
|
|
"error",
|
|
"cache_error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "CachedList",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"source",
|
|
"fetched_at",
|
|
"domains"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ListState",
|
|
"methods": [],
|
|
"properties": [
|
|
"domains",
|
|
"status",
|
|
"generation",
|
|
"cancel",
|
|
"started"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "PhishingList",
|
|
"methods": [
|
|
"new",
|
|
"with_fetch",
|
|
"has",
|
|
"status",
|
|
"start",
|
|
"stop",
|
|
"load_cache",
|
|
"refresh",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"cache",
|
|
"fetch",
|
|
"state",
|
|
"flight"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::media",
|
|
"specifiers": [
|
|
"Cancellation",
|
|
"Fetch",
|
|
"FetchRequest",
|
|
"HttpFetch",
|
|
"Redirects",
|
|
"now_ms",
|
|
"read_bounded"
|
|
]
|
|
},
|
|
{
|
|
"source": "reqwest",
|
|
"specifiers": [
|
|
"Url"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"PrivacyPreferences",
|
|
"from_value",
|
|
"validate",
|
|
"reset_confirmations",
|
|
"validate_trusted_hosts_update",
|
|
"LinkDecision",
|
|
"LinkPrompt",
|
|
"url",
|
|
"host",
|
|
"resolve",
|
|
"ApprovedLink",
|
|
"url",
|
|
"remember_host",
|
|
"prepare_link",
|
|
"SourceStatus",
|
|
"empty",
|
|
"PhishingList",
|
|
"new",
|
|
"with_fetch",
|
|
"has",
|
|
"status",
|
|
"start",
|
|
"stop",
|
|
"load_cache",
|
|
"refresh",
|
|
"parse_list"
|
|
],
|
|
"totalLines": 262,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/privacy_tests.rs": {
|
|
"filePath": "native/src/services/privacy_tests.rs",
|
|
"contentHash": "1497fa8cca99ccbcbcac2be9385dca1ce4a4106f65ee1a6176cfec02a4bb572d",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "FixtureFetch",
|
|
"params": [
|
|
"replies"
|
|
],
|
|
"returnType": "Arc<Self>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"request"
|
|
],
|
|
"returnType": "std::pin::Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "response",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Result<FetchResponse>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "link_scheme_credentials_and_control_characters_fail_closed",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "trust_uses_exact_boundaries_and_precedes_local_classification",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "cancellation_cannot_open_and_malicious_trust_requires_preference",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "trusted_host_patch_and_confirmation_migration_preserve_choices",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "domain_list_rejects_mixed_error_pages_as_a_whole",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "refresh_keeps_last_good_list_and_restart_reads_fixed_source_cache",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "disabled_neither_reads_cache_nor_fetches",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": null,
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "std::pin::Pin<Box<dyn Future<Output = Result<FetchResponse>> + Send + '_>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stop_discards_a_late_result_and_concurrent_refresh_is_single_flight",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "FixtureFetch",
|
|
"methods": [
|
|
"new",
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"replies",
|
|
"calls"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DelayedFetch",
|
|
"methods": [
|
|
"get"
|
|
],
|
|
"properties": [
|
|
"started",
|
|
"release",
|
|
"calls"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::media",
|
|
"specifiers": [
|
|
"FetchResponse"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 141,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/profile.rs": {
|
|
"filePath": "native/src/services/profile.rs",
|
|
"contentHash": "16ec98de162f9b8592e7777f042fe7a8223746ac88a25a8130885ce32ce8b6b5",
|
|
"functions": [
|
|
{
|
|
"name": "open",
|
|
"owner": "ProfileServices",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ProfileServices",
|
|
"methods": [
|
|
"open"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"identities",
|
|
"secrets",
|
|
"prefs",
|
|
"history",
|
|
"whispers",
|
|
"keybinds",
|
|
"volumes",
|
|
"files",
|
|
"recording",
|
|
"migration",
|
|
"_owner"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError",
|
|
"chat_history::ChatHistoryStore",
|
|
"client_volumes::ClientVolumes",
|
|
"identities::IdentityService",
|
|
"keybinds::KeybindStore",
|
|
"prefs::Prefs",
|
|
"secrets::SecretStore",
|
|
"whisper::WhisperStore",
|
|
"file_settings::FileSettings",
|
|
"files::FilesService",
|
|
"recording::RecordingService"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"ProfileServices",
|
|
"open"
|
|
],
|
|
"totalLines": 61,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/profile_import.rs": {
|
|
"filePath": "native/src/services/profile_import.rs",
|
|
"contentHash": "f1b2bfa2133254c043df7359cbf207073a6a2d54e6c426b916a75841fe4b63e9",
|
|
"functions": [
|
|
{
|
|
"name": "resolved_path",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "require_owned_staging",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"source"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "err",
|
|
"owner": "",
|
|
"params": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "resolve_profile_root",
|
|
"owner": "",
|
|
"params": [
|
|
"explicit",
|
|
"mobile_container"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "desktop_config_base",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "require_absolute",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "legacy_candidates",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<Vec<PathBuf>>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "discover_legacy_candidates",
|
|
"owner": "",
|
|
"params": [
|
|
"base"
|
|
],
|
|
"returnType": "Result<Vec<PathBuf>>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "exists",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "staging_path",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "inspect_native_root",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<ProfileRootState>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "initialize_native_root",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "discard_interrupted_import",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"confirmed"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "private_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "create_staging",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "write_private",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"data"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "load_migration",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Option<MigrationState>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "save_migration",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"state"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "clear_required_password",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "import_profile",
|
|
"owner": "",
|
|
"params": [
|
|
"source_root",
|
|
"native_root"
|
|
],
|
|
"returnType": "Result<ImportReport>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "import_with_hook",
|
|
"owner": "",
|
|
"params": [
|
|
"source_root",
|
|
"native_root",
|
|
"after_copy"
|
|
],
|
|
"returnType": "Result<ImportReport>",
|
|
"exported": false,
|
|
"lineCount": 77
|
|
},
|
|
{
|
|
"name": "strip_electron_secrets",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs",
|
|
"migration"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "collect_devices",
|
|
"owner": "",
|
|
"params": [
|
|
"prefs"
|
|
],
|
|
"returnType": "UnmappedDevices",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "stamp",
|
|
"owner": "",
|
|
"params": [
|
|
"metadata",
|
|
"hash"
|
|
],
|
|
"returnType": "Stamp",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "snapshot",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Result<BTreeMap<PathBuf, Stamp>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "add_entry",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"relative",
|
|
"recurse",
|
|
"depth",
|
|
"total",
|
|
"result"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "validate_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"relative",
|
|
"depth",
|
|
"count"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "deny_link",
|
|
"owner": "",
|
|
"params": [
|
|
"metadata"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "ConfinedSource",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "open_file",
|
|
"owner": "ConfinedSource",
|
|
"params": [
|
|
"relative"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "metadata",
|
|
"owner": "ConfinedSource",
|
|
"params": [
|
|
"relative"
|
|
],
|
|
"returnType": "Result<Option<Metadata>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "read",
|
|
"owner": "ConfinedSource",
|
|
"params": [
|
|
"relative"
|
|
],
|
|
"returnType": "Result<Option<Vec<u8>>>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "lock_existing",
|
|
"owner": "ConfinedSource",
|
|
"params": [],
|
|
"returnType": "Result<Vec<File>>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "open_unix_absolute",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open_unix_relative",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"path"
|
|
],
|
|
"returnType": "Result<File>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "sync_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "activate",
|
|
"owner": "",
|
|
"params": [
|
|
"staging",
|
|
"root"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "protect_ios",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StagingOwner",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"owner",
|
|
"destination"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "RequiredPassword",
|
|
"methods": [],
|
|
"properties": [
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UnmappedDevices",
|
|
"methods": [],
|
|
"properties": [
|
|
"input",
|
|
"output",
|
|
"notification"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MigrationState",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"source_root",
|
|
"required_passwords",
|
|
"unmapped_devices"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ImportReport",
|
|
"methods": [],
|
|
"properties": [
|
|
"native_root",
|
|
"copied_files",
|
|
"copied_bytes",
|
|
"default_uid",
|
|
"identity_uids",
|
|
"migration",
|
|
"warnings"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ProfileRootState",
|
|
"methods": [],
|
|
"properties": [
|
|
"Fresh",
|
|
"Native",
|
|
"Interrupted"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Stamp",
|
|
"methods": [],
|
|
"properties": [
|
|
"directory",
|
|
"length",
|
|
"modified",
|
|
"created",
|
|
"readonly",
|
|
"hash",
|
|
"identity"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConfinedSource",
|
|
"methods": [
|
|
"open",
|
|
"open_file",
|
|
"metadata",
|
|
"read",
|
|
"lock_existing"
|
|
],
|
|
"properties": [
|
|
"path",
|
|
"root",
|
|
"_pins"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Read",
|
|
"time::SystemTime"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"profile::Store",
|
|
"secure_fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::os::fd",
|
|
"specifiers": [
|
|
"AsRawFd"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"RequiredPassword",
|
|
"UnmappedDevices",
|
|
"MigrationState",
|
|
"ImportReport",
|
|
"ProfileRootState",
|
|
"resolve_profile_root",
|
|
"legacy_candidates",
|
|
"discover_legacy_candidates",
|
|
"staging_path",
|
|
"inspect_native_root",
|
|
"initialize_native_root",
|
|
"discard_interrupted_import",
|
|
"load_migration",
|
|
"save_migration",
|
|
"clear_required_password",
|
|
"import_profile"
|
|
],
|
|
"totalLines": 505,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/profile_import_tests.rs": {
|
|
"filePath": "native/src/services/profile_import_tests.rs",
|
|
"contentHash": "686287e7ed18e651ef89995d4bc0b6227847cdedca5620bd6333b8b785f12fda",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "source",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "(PathBuf, String)",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"owner": "Fixture",
|
|
"params": [],
|
|
"returnType": "PathBuf",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "json_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"value"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "actual_store_import_preserves_legacy_key_vault_default_progress_and_bytes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 33
|
|
},
|
|
{
|
|
"name": "legacy_only_identity_import_does_not_generate_a_vault_or_key",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ciphertext_markers_and_unmapped_dsp_profiles_are_preserved_without_secret_material",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "corrupted_or_mismatched_identity_never_activates_or_generates_key",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "missing_referenced_legacy_key_aborts",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "concurrent_source_change_leaves_only_recognizable_staging",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "occupied_profile_and_destination_collision_fail_without_writes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "existing_legacy_root_is_not_accepted_as_native_override",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "injected_write_failure_never_activates",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "malformed_preferences_are_diagnostic_not_live_ciphertext",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "symbolic_links_are_not_followed_even_inside_allowed_trees",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "legacy_discovery_returns_all_real_candidates_without_opening_keys",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "native_device_authorization_cannot_be_imported",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "bookmark_identity_reference_must_exist_in_imported_vault",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "destination_created_during_import_is_never_replaced",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "permission_failure_preserves_source_and_does_not_activate",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "current_embedded_key_vault_import_needs_no_legacy_key_file",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "unknown_staging_sibling_is_neither_interrupted_import_nor_deletable",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "selected_source_at_staging_path_is_never_owned_or_discarded",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "selected_source_inside_staging_tree_is_not_modified",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "owned_staging_marker_is_destination_bound_and_allows_actual_crash_retry",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Fixture",
|
|
"methods": [
|
|
"new",
|
|
"source",
|
|
"destination",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 320,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/recording.rs": {
|
|
"filePath": "native/src/services/recording.rs",
|
|
"contentHash": "d108197afe83fe0279ff17e551ead13970cae64844ff7bf00a667fdba0dce169",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"approved"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "approved_directory",
|
|
"owner": "RecordingService",
|
|
"params": [],
|
|
"returnType": "Option<&std::path::Path>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "valid_title",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"title"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "choose_directory",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"chooser",
|
|
"persist"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "start",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"mode",
|
|
"label"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "control",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "on_closed",
|
|
"owner": "RecordingService",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "RecordingService",
|
|
"methods": [
|
|
"new",
|
|
"approved_directory",
|
|
"valid_title",
|
|
"choose_directory",
|
|
"start",
|
|
"control",
|
|
"on_closed"
|
|
],
|
|
"properties": [
|
|
"approved",
|
|
"active"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::future",
|
|
"specifiers": [
|
|
"Future"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"RecordingService",
|
|
"new",
|
|
"approved_directory",
|
|
"valid_title",
|
|
"choose_directory",
|
|
"start",
|
|
"control",
|
|
"on_closed"
|
|
],
|
|
"totalLines": 65,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/recording_tests.rs": {
|
|
"filePath": "native/src/services/recording_tests.rs",
|
|
"contentHash": "a88517c77ac43568176a112343fc086cc864f6dd02474b100000599d1072e803",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "is_current",
|
|
"owner": null,
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"_",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "access",
|
|
"owner": "",
|
|
"params": [
|
|
"stale_on_request"
|
|
],
|
|
"returnType": "Access",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"f"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "recording_uses_only_persisted_chooser_directory_and_core_commands",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "failed_persistence_and_stale_dialog_do_not_publish_authorization",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stale_start_keeps_grant_until_old_core_closes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Access",
|
|
"methods": [
|
|
"is_current",
|
|
"request"
|
|
],
|
|
"properties": [
|
|
"current",
|
|
"commands",
|
|
"stale_on_request"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs",
|
|
"path::PathBuf"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 57,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets.rs": {
|
|
"filePath": "native/src/services/secrets.rs",
|
|
"contentHash": "98318aa3eacd1841bebc339d413cae6bfdcd1bc5700660fabb7cd759948b8d91",
|
|
"functions": [
|
|
{
|
|
"name": "unavailable",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "unreadable",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mismatch",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "io_error",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "corrupt",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "SealedSecret",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "empty",
|
|
"owner": "Index",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "Index",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"profile_root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "SecretStore",
|
|
"params": [],
|
|
"returnType": "StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "password_state",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Result<PasswordState>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "reveal",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding",
|
|
"_access"
|
|
],
|
|
"returnType": "Result<SecretString>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "duplicate",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"source",
|
|
"target"
|
|
],
|
|
"returnType": "Result<SaveOutcome>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "save",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding",
|
|
"secret"
|
|
],
|
|
"returnType": "Result<SaveOutcome>",
|
|
"exported": true,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "remove",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Result<SaveOutcome>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "remove_bookmark",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"bookmark_id"
|
|
],
|
|
"returnType": "Result<SaveOutcome>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "commit_bookmark_change",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"prefs_path",
|
|
"next_prefs",
|
|
"invalidated_ids"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "collect_retired",
|
|
"owner": "SecretStore",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "remove_matching",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"predicate"
|
|
],
|
|
"returnType": "Result<SaveOutcome>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "find",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Option<&Entry>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "requires_password",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "ensure_ready",
|
|
"owner": "SecretStore",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "commit_sealed",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"next",
|
|
"sealed",
|
|
"writer",
|
|
"discard"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "commit_with_writer",
|
|
"owner": "SecretStore",
|
|
"params": [
|
|
"next",
|
|
"writer"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "reject_link",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "OneUseSecret",
|
|
"params": [
|
|
"binding",
|
|
"secret"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "consume_for",
|
|
"owner": "OneUseSecret",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Result<SecretString>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"owner": null,
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "std::fmt::Result",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StorageAvailability",
|
|
"methods": [],
|
|
"properties": [
|
|
"Unchecked",
|
|
"Unavailable"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "StorageStatus",
|
|
"methods": [],
|
|
"properties": [
|
|
"backend",
|
|
"availability",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "PasswordState",
|
|
"methods": [],
|
|
"properties": [
|
|
"saved",
|
|
"required",
|
|
"address_changed",
|
|
"storage"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "SaveOutcome",
|
|
"methods": [],
|
|
"properties": [
|
|
"cleanup_pending"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SealedSecret",
|
|
"methods": [
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"WindowsDpapi",
|
|
"AppleKeychain",
|
|
"LinuxSecretService",
|
|
"AndroidKeystore"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Entry",
|
|
"methods": [],
|
|
"properties": [
|
|
"binding",
|
|
"sealed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Index",
|
|
"methods": [
|
|
"empty",
|
|
"validate"
|
|
],
|
|
"properties": [
|
|
"version",
|
|
"entries",
|
|
"retired"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "SecretStore",
|
|
"methods": [
|
|
"open",
|
|
"status",
|
|
"password_state",
|
|
"reveal",
|
|
"duplicate",
|
|
"save",
|
|
"remove",
|
|
"remove_bookmark",
|
|
"commit_bookmark_change",
|
|
"collect_retired",
|
|
"remove_matching",
|
|
"find",
|
|
"requires_password",
|
|
"ensure_ready",
|
|
"commit",
|
|
"commit_sealed",
|
|
"commit_with_writer"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"path",
|
|
"index",
|
|
"transaction_poisoned",
|
|
"_lock"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "OneUseSecret",
|
|
"methods": [
|
|
"new",
|
|
"consume_for",
|
|
"fmt"
|
|
],
|
|
"properties": [
|
|
"binding",
|
|
"secret"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "fs2",
|
|
"specifiers": [
|
|
"FileExt"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"self",
|
|
"File",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path",
|
|
"PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
},
|
|
{
|
|
"source": "envelope",
|
|
"specifiers": [
|
|
"ExplicitSecretAccess",
|
|
"SecretBinding",
|
|
"SecretPurpose",
|
|
"SecretString"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StorageAvailability",
|
|
"StorageStatus",
|
|
"PasswordState",
|
|
"SaveOutcome",
|
|
"SecretStore",
|
|
"open",
|
|
"status",
|
|
"password_state",
|
|
"reveal",
|
|
"duplicate",
|
|
"save",
|
|
"remove",
|
|
"remove_bookmark",
|
|
"commit_bookmark_change",
|
|
"collect_retired",
|
|
"OneUseSecret",
|
|
"new",
|
|
"consume_for"
|
|
],
|
|
"totalLines": 432,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/android.rs": {
|
|
"filePath": "native/src/services/secrets/android.rs",
|
|
"contentHash": "faa57f353ca428ef7ae40b12d21fce1e792525dfd5fa4aa28da83cf57bb36210",
|
|
"functions": [
|
|
{
|
|
"name": "Java_dev_teamspeach_mobile_NativeSecrets_nativeBind",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"class",
|
|
"application"
|
|
],
|
|
"returnType": "jboolean",
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "java_error",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"decrypting"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "wipe_java",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"array"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "invoke",
|
|
"owner": "",
|
|
"params": [
|
|
"method",
|
|
"input",
|
|
"decrypting"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"owner": "",
|
|
"params": [
|
|
"plaintext"
|
|
],
|
|
"returnType": "Result<SealedSecret>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ApplicationBinding",
|
|
"methods": [],
|
|
"properties": [
|
|
"vm",
|
|
"application",
|
|
"helper"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": [
|
|
"Result",
|
|
"SealedSecret",
|
|
"ServiceError",
|
|
"StorageAvailability",
|
|
"StorageStatus",
|
|
"unavailable",
|
|
"unreadable"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "jni",
|
|
"specifiers": [
|
|
"JNIEnv",
|
|
"JavaVM"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync",
|
|
"specifiers": [
|
|
"OnceLock"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Java_dev_teamspeach_mobile_NativeSecrets_nativeBind",
|
|
"status",
|
|
"seal",
|
|
"open",
|
|
"delete"
|
|
],
|
|
"totalLines": 128,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/apple.rs": {
|
|
"filePath": "native/src/services/secrets/apple.rs",
|
|
"contentHash": "e25d67df4a180358646f018e5847c94629fecdb71003478c549efb92da1db5d8",
|
|
"functions": [
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "options",
|
|
"owner": "",
|
|
"params": [
|
|
"account"
|
|
],
|
|
"returnType": "PasswordOptions",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"owner": "",
|
|
"params": [
|
|
"plaintext"
|
|
],
|
|
"returnType": "Result<SealedSecret>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": [
|
|
"Result",
|
|
"SealedSecret",
|
|
"StorageAvailability",
|
|
"StorageStatus",
|
|
"unavailable",
|
|
"unreadable"
|
|
]
|
|
},
|
|
{
|
|
"source": "security_framework::access_control",
|
|
"specifiers": [
|
|
"ProtectionMode",
|
|
"SecAccessControl"
|
|
]
|
|
},
|
|
{
|
|
"source": "security_framework::passwords",
|
|
"specifiers": [
|
|
"self",
|
|
"PasswordOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"status",
|
|
"seal",
|
|
"open",
|
|
"delete"
|
|
],
|
|
"totalLines": 50,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/backend.rs": {
|
|
"filePath": "native/src/services/secrets/backend.rs",
|
|
"contentHash": "a3561b3ef3646752530bdd321dd534e05c51fcfb1a3a25f5c9fa9134228c4de0",
|
|
"functions": [
|
|
{
|
|
"name": "random_reference",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "super::Result<String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "super::StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"owner": "",
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "super::Result<super::SealedSecret>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "super::Result<zeroize::Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "",
|
|
"params": [
|
|
"_"
|
|
],
|
|
"returnType": "super::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "platform",
|
|
"specifiers": [
|
|
"delete",
|
|
"open",
|
|
"seal",
|
|
"status"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"status",
|
|
"seal",
|
|
"open",
|
|
"delete"
|
|
],
|
|
"totalLines": 37,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/envelope.rs": {
|
|
"filePath": "native/src/services/secrets/envelope.rs",
|
|
"contentHash": "27276fd6d95bd700042695db8d0cb81272eed12396337c45e4e55264ed8da86d",
|
|
"functions": [
|
|
{
|
|
"name": "as_str",
|
|
"owner": "SecretPurpose",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SecretBinding",
|
|
"params": [
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "bookmark_id",
|
|
"owner": "SecretBinding",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "purpose",
|
|
"owner": "SecretBinding",
|
|
"params": [],
|
|
"returnType": "SecretPurpose",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "address",
|
|
"owner": "SecretBinding",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "same_slot",
|
|
"owner": "SecretBinding",
|
|
"params": [
|
|
"other"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "is_valid",
|
|
"owner": "SecretBinding",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SecretString",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "expose",
|
|
"owner": "SecretString",
|
|
"params": [
|
|
"_access"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"owner": null,
|
|
"params": [
|
|
"f"
|
|
],
|
|
"returnType": "std::fmt::Result",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "contains_control",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "deserialize_secret",
|
|
"owner": "",
|
|
"params": [
|
|
"deserializer"
|
|
],
|
|
"returnType": "std::result::Result<SecretString, D::Error>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "encode",
|
|
"owner": "",
|
|
"params": [
|
|
"binding",
|
|
"secret"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "decode",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<SecretString>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SecretPurpose",
|
|
"methods": [
|
|
"as_str"
|
|
],
|
|
"properties": [
|
|
"Server",
|
|
"Channel"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ExplicitSecretAccess",
|
|
"methods": [],
|
|
"properties": [
|
|
"RevealByUser",
|
|
"ConnectByUser",
|
|
"DuplicateByUser"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SecretBinding",
|
|
"methods": [
|
|
"new",
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address",
|
|
"same_slot",
|
|
"is_valid"
|
|
],
|
|
"properties": [
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SecretString",
|
|
"methods": [
|
|
"new",
|
|
"expose",
|
|
"fmt"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BorrowedEnvelope",
|
|
"methods": [],
|
|
"properties": [
|
|
"v",
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address",
|
|
"secret"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Envelope",
|
|
"methods": [],
|
|
"properties": [
|
|
"v",
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address",
|
|
"secret"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError",
|
|
"mismatch",
|
|
"unreadable"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"SecretPurpose",
|
|
"as_str",
|
|
"ExplicitSecretAccess",
|
|
"SecretBinding",
|
|
"new",
|
|
"bookmark_id",
|
|
"purpose",
|
|
"address",
|
|
"same_slot",
|
|
"is_valid",
|
|
"SecretString",
|
|
"new",
|
|
"expose",
|
|
"encode",
|
|
"decode"
|
|
],
|
|
"totalLines": 120,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/linux.rs": {
|
|
"filePath": "native/src/services/secrets/linux.rs",
|
|
"contentHash": "8c288962b4104b6a7b91e4d795b6cb47eb2e9d5a0ff077668323de0b534fd282",
|
|
"functions": [
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "attributes",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "HashMap<&str, &str>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"owner": "",
|
|
"params": [
|
|
"plaintext"
|
|
],
|
|
"returnType": "Result<SealedSecret>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": [
|
|
"Result",
|
|
"SealedSecret",
|
|
"StorageAvailability",
|
|
"StorageStatus",
|
|
"unavailable",
|
|
"unreadable"
|
|
]
|
|
},
|
|
{
|
|
"source": "secret_service",
|
|
"specifiers": [
|
|
"EncryptionType",
|
|
"blocking::SecretService"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"status",
|
|
"seal",
|
|
"open",
|
|
"delete"
|
|
],
|
|
"totalLines": 54,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/transaction.rs": {
|
|
"filePath": "native/src/services/secrets/transaction.rs",
|
|
"contentHash": "62d67d3053d1e2f8b2116b248b2030dff75f12fbaf8ff9e5757eab710f70294c",
|
|
"functions": [
|
|
{
|
|
"name": "recovery_error",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "pending",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "read_bounded",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<Option<Vec<u8>>>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "decode",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "sync_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"contents"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"journal",
|
|
"forward"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "validate_journal",
|
|
"owner": "",
|
|
"params": [
|
|
"journal"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "recover",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"next_prefs",
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Phase",
|
|
"methods": [],
|
|
"properties": [
|
|
"Prepared",
|
|
"Committed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Journal",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"phase",
|
|
"before_prefs",
|
|
"before_secrets",
|
|
"after_prefs",
|
|
"after_secrets"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Index",
|
|
"Result",
|
|
"ServiceError",
|
|
"FILE_LIMIT",
|
|
"corrupt",
|
|
"io_error",
|
|
"reject_link"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::fs",
|
|
"specifiers": [
|
|
"self",
|
|
"File",
|
|
"OpenOptions"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::io",
|
|
"specifiers": [
|
|
"Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::path",
|
|
"specifiers": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"secure_fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"recovery_error",
|
|
"pending",
|
|
"recover",
|
|
"commit"
|
|
],
|
|
"totalLines": 254,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets/windows.rs": {
|
|
"filePath": "native/src/services/secrets/windows.rs",
|
|
"contentHash": "71f8f165579b342f85ab35530eada56b4af8c47c62f05978e28e9510fcc1e767",
|
|
"functions": [
|
|
{
|
|
"name": "status",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "StorageStatus",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "empty",
|
|
"owner": "LocalBlob",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bytes",
|
|
"owner": "LocalBlob",
|
|
"params": [],
|
|
"returnType": "Result<&[u8]>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "seal",
|
|
"owner": "",
|
|
"params": [
|
|
"plaintext"
|
|
],
|
|
"returnType": "Result<SealedSecret>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<Zeroizing<Vec<u8>>>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "",
|
|
"params": [
|
|
"sealed"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "LocalBlob",
|
|
"methods": [
|
|
"empty",
|
|
"bytes",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": [
|
|
"Result",
|
|
"SealedSecret",
|
|
"StorageAvailability",
|
|
"StorageStatus",
|
|
"unavailable",
|
|
"unreadable"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::ptr",
|
|
"specifiers": [
|
|
"null",
|
|
"null_mut"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows_sys::Win32::Foundation",
|
|
"specifiers": [
|
|
"ERROR_NOT_LOGGED_ON",
|
|
"GetLastError",
|
|
"LocalFree",
|
|
"NTE_BAD_KEY_STATE"
|
|
]
|
|
},
|
|
{
|
|
"source": "windows_sys::Win32::Security::Cryptography",
|
|
"specifiers": [
|
|
"CRYPT_INTEGER_BLOB",
|
|
"CRYPTPROTECT_UI_FORBIDDEN",
|
|
"CryptProtectData",
|
|
"CryptUnprotectData"
|
|
]
|
|
},
|
|
{
|
|
"source": "zeroize",
|
|
"specifiers": [
|
|
"Zeroize",
|
|
"Zeroizing"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"status",
|
|
"seal",
|
|
"open",
|
|
"delete"
|
|
],
|
|
"totalLines": 72,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/secrets_tests.rs": {
|
|
"filePath": "native/src/services/secrets_tests.rs",
|
|
"contentHash": "1fdb6e25a600c80016840b2cdb121dc6b764fdfbbd2c0433f660517755a2559e",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "TestProfile",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "binding",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"purpose",
|
|
"address"
|
|
],
|
|
"returnType": "SecretBinding",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "usual",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SecretBinding",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "password",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "SecretString",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exposed",
|
|
"owner": "",
|
|
"params": [
|
|
"secret"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "error_code",
|
|
"owner": "",
|
|
"params": [
|
|
"result"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "envelope_roundtrip_preserves_whitespace_unicode_and_exact_address",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "envelope_cannot_move_between_bookmark_purpose_or_address",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "malformed_unknown_empty_and_electron_envelopes_never_become_passwords",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "duplicate_envelope_fields_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "invalid_secret_diagnostics_and_debug_are_redacted",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "binding_validation_uses_source_limits_and_exact_trim",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "one_use_secret_is_bound_consumed_and_does_not_persist",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "open_status_and_not_saved_do_not_touch_os_keyrings_or_create_secret_file",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "corrupt_index_is_preserved_without_recovery_reset",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "duplicate_slots_and_invalid_ciphertext_are_rejected_without_os_calls",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "a_retired_reference_cannot_alias_a_live_password",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "write_migration",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"binding"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "migration_marker_blocks_connect_and_survives_one_use_or_cancel",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "actual_dpapi_isolated_roundtrip_and_tamper_rejection",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "actual_dpapi_store_restarts_migration_binding_and_explicit_duplication",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "actual_dpapi_failed_atomic_save_preserves_disk_and_requires_reopen",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "post_rename_failure_preserves_new_os_item_and_blocks_stale_cleanup",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 40
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "TestProfile",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"TestProfile",
|
|
"new"
|
|
],
|
|
"totalLines": 300,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/server_icons.rs": {
|
|
"filePath": "native/src/services/server_icons.rs",
|
|
"contentHash": "70e7bd801ecc00bb9c1b04c19dc5cfd40c4ea7b23f49c3f896467eefd3aef47d",
|
|
"functions": [
|
|
{
|
|
"name": "cancel",
|
|
"owner": "OperationCancellation",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "OperationCancellation",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "on_control",
|
|
"owner": "IconTransferEvents",
|
|
"params": [
|
|
"key",
|
|
"event"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"access",
|
|
"events",
|
|
"files"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "access",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [],
|
|
"returnType": "&A",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "exclusive",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<BusyLease<'_>>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "context",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<IconListing>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "authorize",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"authorization"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "list_entries",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Vec<IconEntry>>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "upload",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"authorization",
|
|
"picked",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<IconUploadResult>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"authorization",
|
|
"ids",
|
|
"confirmed",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<IconDeleteResult>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "transfer",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"command",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 48
|
|
},
|
|
{
|
|
"name": "download_bytes",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"icon",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "upload_bytes",
|
|
"owner": "ServerIcons<A>",
|
|
"params": [
|
|
"key",
|
|
"bytes",
|
|
"cancel"
|
|
],
|
|
"returnType": "Result<(u32, bool)>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "private_folder",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<tempfile::TempDir>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "read_private_bounded",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "icon_path",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "icon_id_of",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "raster_size",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"mime"
|
|
],
|
|
"returnType": "Option<(u32, u32)>",
|
|
"exported": true,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "check_icon_bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 23
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "OperationCancellation",
|
|
"methods": [
|
|
"cancel",
|
|
"check"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconTransferEvents",
|
|
"methods": [
|
|
"default",
|
|
"on_control"
|
|
],
|
|
"properties": [
|
|
"sender"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"size",
|
|
"datetime"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconAuthorization",
|
|
"methods": [],
|
|
"properties": [
|
|
"token"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconListing",
|
|
"methods": [],
|
|
"properties": [
|
|
"icons",
|
|
"generation",
|
|
"authorization"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UploadedIcon",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"existing",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconUploadError",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconUploadResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"cancelled",
|
|
"uploaded",
|
|
"errors"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "IconDeleteResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"deleted",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ListingGrant",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"expires"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BusyLease",
|
|
"methods": [],
|
|
"properties": [
|
|
"busy",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ServerIcons",
|
|
"methods": [],
|
|
"properties": [
|
|
"access",
|
|
"events",
|
|
"files",
|
|
"grants",
|
|
"busy"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs::File",
|
|
"io::Read"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"admin::AdminCommand",
|
|
"file_transfer::Request",
|
|
"protocol::Command",
|
|
"secure_fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"broadcast"
|
|
]
|
|
},
|
|
{
|
|
"source": "uuid",
|
|
"specifiers": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"OperationCancellation",
|
|
"cancel",
|
|
"check",
|
|
"IconTransferEvents",
|
|
"on_control",
|
|
"IconEntry",
|
|
"IconAuthorization",
|
|
"IconListing",
|
|
"UploadedIcon",
|
|
"IconUploadError",
|
|
"IconUploadResult",
|
|
"IconDeleteResult",
|
|
"ServerIcons",
|
|
"new",
|
|
"access",
|
|
"request",
|
|
"list",
|
|
"list_entries",
|
|
"upload",
|
|
"delete",
|
|
"check",
|
|
"transfer",
|
|
"download_bytes",
|
|
"upload_bytes",
|
|
"icon_id_of",
|
|
"raster_size",
|
|
"check_icon_bytes"
|
|
],
|
|
"totalLines": 307,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/server_icons_tests.rs": {
|
|
"filePath": "native/src/services/server_icons_tests.rs",
|
|
"contentHash": "88f4cf5896139e97c33288aa8ac52a4387a7f68c271f981d7a7677ecc9d4cf0b",
|
|
"functions": [
|
|
{
|
|
"name": "is_current",
|
|
"owner": null,
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fixture",
|
|
"owner": "",
|
|
"params": [
|
|
"reply"
|
|
],
|
|
"returnType": "(Arc<Mock>, ServerIcons<Mock>)",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "png",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "Vec<u8>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "picked",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "SessionFileGrant",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "canonical_names_and_image_headers_are_bounded_before_decode",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "early_terminal_events_are_correlated_to_exact_session_and_transfer",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "reconnect_never_cancels_recycled_transfer_id",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "cancellation_after_ack_cancels_only_original_session",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "oversized_progress_cancels_without_reading_unbounded_bytes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "listing_grants_do_not_survive_reconnect_or_failed_storage",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "upload_uses_private_copy_rechecks_listing_and_reports_per_file_errors",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "crc_collision_is_not_overwritten_and_deletion_retains_acknowledged_batches",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "icons_share_rates_with_other_sessions_before_enqueue_and_release_share_on_terminal",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "damaged_chosen_raster_never_reaches_icon_upload",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Mock",
|
|
"methods": [
|
|
"is_current",
|
|
"request"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"calls",
|
|
"events",
|
|
"reply",
|
|
"_directory"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::files",
|
|
"specifiers": [
|
|
"PickedFile"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicUsize",
|
|
"Ordering"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 252,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/snapshot_codec.rs": {
|
|
"filePath": "native/src/services/snapshot_codec.rs",
|
|
"contentHash": "7a3d6a2e02ec95fd941e823427a500a2cd47e5fd1d2a5dd73be26a7f9837663f",
|
|
"functions": [
|
|
{
|
|
"name": "text_field",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "bool_field",
|
|
"owner": "",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "invalid",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "object",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<&Map<String, Value>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "array",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<&Vec<Value>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nonempty",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "utf16_len",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_variables",
|
|
"owner": "",
|
|
"params": [
|
|
"vars"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "validate_fields",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"fields"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "validate_permissions",
|
|
"owner": "",
|
|
"params": [
|
|
"rows"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "count_row",
|
|
"owner": "",
|
|
"params": [
|
|
"count"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate_channels",
|
|
"owner": "",
|
|
"params": [
|
|
"rows",
|
|
"depth",
|
|
"count"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "decode",
|
|
"owner": "SnapshotDocument",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "SnapshotDocument",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 56
|
|
},
|
|
{
|
|
"name": "value",
|
|
"owner": "SnapshotDocument",
|
|
"params": [],
|
|
"returnType": "&Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "encode",
|
|
"owner": "SnapshotDocument",
|
|
"params": [],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "variables",
|
|
"owner": "SnapshotDocument",
|
|
"params": [],
|
|
"returnType": "Variables",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "catalog",
|
|
"owner": "SnapshotDocument",
|
|
"params": [],
|
|
"returnType": "&[Value]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "substitute",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"vars"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "extract",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"vars"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "wire_text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wire_u64",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<u64>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "wire_i64",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<i64>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "json_integer",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<i64>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "from_wire",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"fields",
|
|
"prefix",
|
|
"vars"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "crc32",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "u32",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "svg_header",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"allow_doctype"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "icon_mime",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<&'static str>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "icon_bytes",
|
|
"owner": "",
|
|
"params": [
|
|
"icon"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SnapshotDocument",
|
|
"methods": [
|
|
"decode",
|
|
"validate",
|
|
"value",
|
|
"encode",
|
|
"variables",
|
|
"catalog"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Map",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"invalid",
|
|
"validate_variables",
|
|
"SnapshotDocument",
|
|
"decode",
|
|
"validate",
|
|
"value",
|
|
"encode",
|
|
"variables",
|
|
"catalog",
|
|
"substitute",
|
|
"extract",
|
|
"wire_text",
|
|
"wire_u64",
|
|
"wire_i64",
|
|
"json_integer",
|
|
"from_wire",
|
|
"crc32",
|
|
"svg_header",
|
|
"icon_mime",
|
|
"icon_bytes"
|
|
],
|
|
"totalLines": 283,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/snapshot_codec_tests.rs": {
|
|
"filePath": "native/src/services/snapshot_codec_tests.rs",
|
|
"contentHash": "3a67c64834e938181eb9c7e3f0f23b8225a1e382ec048683527a6adb456fb625",
|
|
"functions": [
|
|
{
|
|
"name": "document",
|
|
"owner": "",
|
|
"params": [
|
|
"entry"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "roundtrip_preserves_every_category_and_unsigned_icon_permissions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "invalid_archive_payloads_are_rejected_before_application",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "depth_sixty_four_roundtrips_but_deeper_trees_do_not",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "variables_preserve_unknown_tokens_and_extract_longest_values_first",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "icon_formats_and_data_urls_remain_opaque_and_bounded",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 70,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/snapshots.rs": {
|
|
"filePath": "native/src/services/snapshots.rs",
|
|
"contentHash": "6604699bb9dba0819eb17b182f1520002189b75348086671214f0ed4fd1f27d6",
|
|
"functions": [
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "from_picker",
|
|
"owner": "SnapshotSaveGrant",
|
|
"params": [
|
|
"key",
|
|
"name",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"owner": "SnapshotSaveGrant",
|
|
"params": [
|
|
"access",
|
|
"key",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "from_chooser",
|
|
"owner": "DesktopSnapshotDestination",
|
|
"params": [
|
|
"path",
|
|
"overwrite_confirmed"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "with_lease",
|
|
"owner": "DesktopSnapshotDestination",
|
|
"params": [
|
|
"lease"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"owner": null,
|
|
"params": [
|
|
"self",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"icons"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "begin",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<(JobLease<'_>, Arc<OperationCancellation>)>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "context",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "dispose",
|
|
"owner": "Snapshots<A>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key",
|
|
"picked"
|
|
],
|
|
"returnType": "Result<Option<OpenedSnapshot>>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "export",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key",
|
|
"options",
|
|
"destination",
|
|
"progress"
|
|
],
|
|
"returnType": "Result<SnapshotReport>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "Snapshots<A>",
|
|
"params": [
|
|
"key",
|
|
"token",
|
|
"options",
|
|
"progress"
|
|
],
|
|
"returnType": "Result<SnapshotReport>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "core_error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "extra",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Vec<Value>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"key"
|
|
],
|
|
"returnType": "&'a [Value]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "id",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"field"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "group_id",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "group_list",
|
|
"owner": "",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "substituted",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"vars"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "one_property",
|
|
"owner": "",
|
|
"params": [
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Map<String, Value>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"icons",
|
|
"key",
|
|
"context",
|
|
"cancel",
|
|
"progress"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "issue",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"phase",
|
|
"identifier",
|
|
"error",
|
|
"warning"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "record",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"phase",
|
|
"identifier",
|
|
"result"
|
|
],
|
|
"returnType": "Result<Option<T>>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"phase",
|
|
"result"
|
|
],
|
|
"returnType": "SnapshotReport",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "call",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "permissions",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<Vec<Value>>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "create",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"options"
|
|
],
|
|
"returnType": "Result<SnapshotDocument>",
|
|
"exported": false,
|
|
"lineCount": 53
|
|
},
|
|
{
|
|
"name": "export_channels",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"rows",
|
|
"parent",
|
|
"vars",
|
|
"seen",
|
|
"depth"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output=Result<Vec<Value>>> + Send + 'b>>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "export_icons",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [],
|
|
"returnType": "Result<Vec<Value>>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "server_property",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_permissions",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"kind",
|
|
"id",
|
|
"permissions",
|
|
"icons"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "resolve_name",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"name",
|
|
"rows",
|
|
"parent",
|
|
"kind",
|
|
"mode"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "apply",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"entry",
|
|
"vars",
|
|
"mode"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 73
|
|
},
|
|
{
|
|
"name": "apply_channels",
|
|
"owner": "SnapshotOperation<'a, A>",
|
|
"params": [
|
|
"channels",
|
|
"parent",
|
|
"existing",
|
|
"vars",
|
|
"mode",
|
|
"icons"
|
|
],
|
|
"returnType": "Pin<Box<dyn Future<Output=Result<()>> + Send + 'b>>",
|
|
"exported": false,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "rows_from",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<Vec<Value>>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "remap_icon",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"map"
|
|
],
|
|
"returnType": "Result<u32>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "count_channels",
|
|
"owner": "",
|
|
"params": [
|
|
"rows"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ExportOptions",
|
|
"methods": [],
|
|
"properties": [
|
|
"include_server_settings",
|
|
"include_channels",
|
|
"include_server_groups",
|
|
"include_server_group_members",
|
|
"include_channel_groups",
|
|
"include_icons",
|
|
"vars",
|
|
"catalog_id",
|
|
"catalog_description",
|
|
"snapshot_description",
|
|
"created_by"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "ConflictMode",
|
|
"methods": [],
|
|
"properties": [
|
|
"Skip",
|
|
"RenameNew",
|
|
"RenameExisting"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ApplyOptions",
|
|
"methods": [],
|
|
"properties": [
|
|
"catalog_id",
|
|
"vars",
|
|
"conflict_mode",
|
|
"confirmation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ImportToken",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OpenedSnapshot",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"name",
|
|
"meta",
|
|
"vars",
|
|
"confirmation",
|
|
"catalog"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CatalogSummary",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"description",
|
|
"sections"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SnapshotIssue",
|
|
"methods": [],
|
|
"properties": [
|
|
"phase",
|
|
"identifier",
|
|
"code",
|
|
"message",
|
|
"warning"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CreatedChanges",
|
|
"methods": [],
|
|
"properties": [
|
|
"channels",
|
|
"server_groups",
|
|
"channel_groups",
|
|
"icons",
|
|
"members",
|
|
"renamed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "SnapshotReport",
|
|
"methods": [],
|
|
"properties": [
|
|
"success",
|
|
"partial",
|
|
"cancelled",
|
|
"saved",
|
|
"name",
|
|
"errors",
|
|
"created"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SnapshotProgress",
|
|
"methods": [],
|
|
"properties": [
|
|
"phase",
|
|
"identifier",
|
|
"current",
|
|
"total",
|
|
"errors"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Import",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"uid",
|
|
"document",
|
|
"expires"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "JobLease",
|
|
"methods": [],
|
|
"properties": [
|
|
"jobs",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SnapshotDestination",
|
|
"methods": [
|
|
"commit"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SnapshotSaveGrant",
|
|
"methods": [
|
|
"from_picker",
|
|
"commit"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"name",
|
|
"destination"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DesktopSnapshotDestination",
|
|
"methods": [
|
|
"from_chooser",
|
|
"with_lease",
|
|
"commit"
|
|
],
|
|
"properties": [
|
|
"path",
|
|
"parent",
|
|
"previous",
|
|
"_lease"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Snapshots",
|
|
"methods": [],
|
|
"properties": [
|
|
"icons",
|
|
"imports",
|
|
"jobs"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "SnapshotOperation",
|
|
"methods": [],
|
|
"properties": [
|
|
"icons",
|
|
"key",
|
|
"context",
|
|
"cancel",
|
|
"progress",
|
|
"report",
|
|
"completed",
|
|
"total"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"future::Future",
|
|
"pin::Pin"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Map",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "uuid",
|
|
"specifiers": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ExportOptions",
|
|
"ConflictMode",
|
|
"ApplyOptions",
|
|
"ImportToken",
|
|
"OpenedSnapshot",
|
|
"CatalogSummary",
|
|
"SnapshotIssue",
|
|
"CreatedChanges",
|
|
"SnapshotReport",
|
|
"SnapshotProgress",
|
|
"SnapshotDestination",
|
|
"SnapshotSaveGrant",
|
|
"from_picker",
|
|
"DesktopSnapshotDestination",
|
|
"from_chooser",
|
|
"with_lease",
|
|
"Snapshots",
|
|
"new",
|
|
"cancel",
|
|
"dispose",
|
|
"open",
|
|
"export",
|
|
"apply"
|
|
],
|
|
"totalLines": 552,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/snapshots_tests.rs": {
|
|
"filePath": "native/src/services/snapshots_tests.rs",
|
|
"contentHash": "6503eda9f0f90ca11bda4e5f7551e6b105d63aa7025d04625739d27e20dabbd9",
|
|
"functions": [
|
|
{
|
|
"name": "is_current",
|
|
"owner": null,
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": null,
|
|
"params": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"returnType": "Result<Value>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fixture",
|
|
"owner": "",
|
|
"params": [
|
|
"responder"
|
|
],
|
|
"returnType": "(Arc<Mock>, Arc<ServerIcons<Mock>>, Snapshots<Mock>)",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "context",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "document",
|
|
"owner": "",
|
|
"params": [
|
|
"entry"
|
|
],
|
|
"returnType": "SnapshotDocument",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "picked",
|
|
"owner": "",
|
|
"params": [
|
|
"document"
|
|
],
|
|
"returnType": "SessionFileGrant",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "options",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ApplyOptions",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "progress",
|
|
"owner": "",
|
|
"params": [
|
|
"_"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "export_preserves_permanent_hierarchy_predecessor_order_all_categories_and_variables",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "apply_orders_icon_upload_settings_channels_groups_defaults_then_uid_members",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "cancelled_acknowledged_parent_is_retained_without_creating_child",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "every_conflict_mode_preserves_channel_parent_ownership",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "unsupported_properties_missing_icons_and_denied_members_report_partial_not_success",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "open_token_confirmation_reconnect_and_cancelled_picker_prevent_mutations",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "export_save_is_atomic_and_destination_grant_cannot_cross_reconnect",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "cancellation_handles_are_exact_session_and_export_never_overwrites_changed_files",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "individual_export_failures_are_reported_and_only_confirmed_output_is_saved",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Mock",
|
|
"methods": [
|
|
"is_current",
|
|
"request"
|
|
],
|
|
"properties": [
|
|
"key",
|
|
"calls",
|
|
"events",
|
|
"responder",
|
|
"_directory"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super",
|
|
"specifiers": [
|
|
"server_icons::IconTransferEvents"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::sync::atomic",
|
|
"specifiers": [
|
|
"AtomicU64",
|
|
"Ordering"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 240,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/storage.rs": {
|
|
"filePath": "native/src/services/storage.rs",
|
|
"contentHash": "f372a72f52d521504f09308aaa4dd2ee6442916c62a278d0dbac9eab00c969da",
|
|
"functions": [
|
|
{
|
|
"name": "open",
|
|
"owner": "StorageWorker",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "call",
|
|
"owner": "StorageWorker",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"returnType": "Result<T>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "shutdown",
|
|
"owner": "StorageWorker",
|
|
"params": [],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "StorageWorker",
|
|
"methods": [
|
|
"open",
|
|
"call",
|
|
"shutdown",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"queue",
|
|
"finished",
|
|
"worker"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError",
|
|
"profile::ProfileServices"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"mpsc",
|
|
"oneshot"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"StorageWorker",
|
|
"open",
|
|
"call",
|
|
"shutdown"
|
|
],
|
|
"totalLines": 58,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/themes.rs": {
|
|
"filePath": "native/src/services/themes.rs",
|
|
"contentHash": "512d3f4b4d42032f9918c1998b9363f2ebf76b0be796fd8939ee45fa409d08e9",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"root",
|
|
"selection"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": "ThemeService",
|
|
"params": [],
|
|
"returnType": "&Path",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"owner": "ThemeService",
|
|
"params": [],
|
|
"returnType": "Option<&str>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "directory_for",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"identifier"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "scan",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"force"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "find",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"selection"
|
|
],
|
|
"returnType": "Option<(&Extension, &ThemeVariant)>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"force",
|
|
"persist"
|
|
],
|
|
"returnType": "Result<ThemeListing>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "select",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"selection",
|
|
"persist"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "asset",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"identifier",
|
|
"relative"
|
|
],
|
|
"returnType": "Result<Asset>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"selection",
|
|
"scheme"
|
|
],
|
|
"returnType": "Result<ResolvedTheme>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"scheme"
|
|
],
|
|
"returnType": "Result<ResolvedTheme>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "package_link",
|
|
"owner": "ThemeService",
|
|
"params": [
|
|
"identifier",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "InvalidExtension",
|
|
"methods": [],
|
|
"properties": [
|
|
"folder",
|
|
"reason",
|
|
"detail"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ThemeListing",
|
|
"methods": [],
|
|
"properties": [
|
|
"extensions",
|
|
"invalid",
|
|
"selection",
|
|
"missing"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ThemeService",
|
|
"methods": [
|
|
"new",
|
|
"directory",
|
|
"selection",
|
|
"directory_for",
|
|
"scan",
|
|
"find",
|
|
"list",
|
|
"select",
|
|
"asset",
|
|
"preview",
|
|
"resolve",
|
|
"package_link"
|
|
],
|
|
"properties": [
|
|
"root",
|
|
"root_real",
|
|
"entries",
|
|
"invalid",
|
|
"scanned_at",
|
|
"selection"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "css",
|
|
"specifiers": [
|
|
"import_tokens",
|
|
"stock_tokens",
|
|
"ColorScheme",
|
|
"Diagnostic",
|
|
"FontSource",
|
|
"LocalFont",
|
|
"ResolvedTheme",
|
|
"TokenValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "package",
|
|
"specifiers": [
|
|
"normalize_selection",
|
|
"validate_package",
|
|
"Extension",
|
|
"ThemeVariant"
|
|
]
|
|
},
|
|
{
|
|
"source": "resources",
|
|
"specifiers": [
|
|
"Asset",
|
|
"AssetKind"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"InvalidExtension",
|
|
"ThemeListing",
|
|
"ThemeService",
|
|
"new",
|
|
"directory",
|
|
"selection",
|
|
"directory_for",
|
|
"list",
|
|
"select",
|
|
"asset",
|
|
"preview",
|
|
"resolve",
|
|
"package_link"
|
|
],
|
|
"totalLines": 142,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/themes/css.rs": {
|
|
"filePath": "native/src/services/themes/css.rs",
|
|
"contentHash": "b41a03a404159823094ce4a6eae283349680c588154bb148ef2e80deb8eb9d07",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "warn",
|
|
"owner": "",
|
|
"params": [
|
|
"out",
|
|
"token",
|
|
"message"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "tokenize",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<Vec<T>>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"owner": "",
|
|
"params": [
|
|
"p",
|
|
"depth",
|
|
"count"
|
|
],
|
|
"returnType": "Result<Vec<T>>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "css",
|
|
"owner": "",
|
|
"params": [
|
|
"ts"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "reference",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "resources",
|
|
"owner": "",
|
|
"params": [
|
|
"ts",
|
|
"reference_strings",
|
|
"found"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "validate_resources",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "validate_svg_resources",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "declarations",
|
|
"owner": "",
|
|
"params": [
|
|
"ts",
|
|
"specificity",
|
|
"out",
|
|
"warnings"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "selector",
|
|
"owner": "",
|
|
"params": [
|
|
"ts"
|
|
],
|
|
"returnType": "Option<u8>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "sheet",
|
|
"owner": "",
|
|
"params": [
|
|
"ts",
|
|
"scheme",
|
|
"out",
|
|
"warnings",
|
|
"fonts"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 46
|
|
},
|
|
{
|
|
"name": "mark_cycles",
|
|
"owner": "",
|
|
"params": [
|
|
"all"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "expand",
|
|
"owner": "",
|
|
"params": [
|
|
"ts",
|
|
"all",
|
|
"stack",
|
|
"budget"
|
|
],
|
|
"returnType": "Result<Vec<T>>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "numeric",
|
|
"owner": "",
|
|
"params": [
|
|
"ts",
|
|
"em",
|
|
"rem"
|
|
],
|
|
"returnType": "Result<Quantity>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "font_family",
|
|
"owner": "",
|
|
"params": [
|
|
"ts"
|
|
],
|
|
"returnType": "Result<Vec<String>>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "value",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"ts",
|
|
"base",
|
|
"em"
|
|
],
|
|
"returnType": "Result<TokenValue>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "stock_declarations",
|
|
"owner": "",
|
|
"params": [
|
|
"scheme"
|
|
],
|
|
"returnType": "Result<Declarations>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "stock_tokens",
|
|
"owner": "",
|
|
"params": [
|
|
"scheme"
|
|
],
|
|
"returnType": "Result<BTreeMap<String,TokenValue>>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "import_tokens",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"scheme"
|
|
],
|
|
"returnType": "Result<ResolvedTheme>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ColorScheme",
|
|
"methods": [],
|
|
"properties": [
|
|
"Dark",
|
|
"Light"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "TokenValue",
|
|
"methods": [],
|
|
"properties": [
|
|
"Color",
|
|
"Number",
|
|
"LengthPx",
|
|
"FontFamily",
|
|
"StockPaint",
|
|
"Inherited"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Diagnostic",
|
|
"methods": [],
|
|
"properties": [
|
|
"token",
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FontSource",
|
|
"methods": [],
|
|
"properties": [
|
|
"File",
|
|
"Local"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "LocalFont",
|
|
"methods": [],
|
|
"properties": [
|
|
"family",
|
|
"sources"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ResolvedTheme",
|
|
"methods": [],
|
|
"properties": [
|
|
"values",
|
|
"base_values",
|
|
"warnings",
|
|
"fonts",
|
|
"local_images"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "T",
|
|
"methods": [],
|
|
"properties": [
|
|
"Ident",
|
|
"Str",
|
|
"Num",
|
|
"Dim",
|
|
"Percent",
|
|
"Hash",
|
|
"At",
|
|
"P",
|
|
"Fn",
|
|
"Block",
|
|
"Url",
|
|
"Raw"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Declaration",
|
|
"methods": [],
|
|
"properties": [
|
|
"value",
|
|
"important",
|
|
"specificity",
|
|
"cyclic"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Quantity",
|
|
"methods": [],
|
|
"properties": [
|
|
"value",
|
|
"length"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "cssparser",
|
|
"specifiers": [
|
|
"Parser",
|
|
"Token",
|
|
"ToCss"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"BTreeSet"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ColorScheme",
|
|
"TokenValue",
|
|
"Diagnostic",
|
|
"FontSource",
|
|
"LocalFont",
|
|
"ResolvedTheme",
|
|
"validate_resources",
|
|
"validate_svg_resources",
|
|
"stock_tokens",
|
|
"import_tokens"
|
|
],
|
|
"totalLines": 339,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/themes/package.rs": {
|
|
"filePath": "native/src/services/themes/package.rs",
|
|
"contentHash": "3308550f5d07a887d3e64e2fe8fd455b4d4319a7c31331fc266c54f265310fe3",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"where_"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "object",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"at",
|
|
"required",
|
|
"allowed"
|
|
],
|
|
"returnType": "Result<&'a serde_json::Map<String, Value>>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"at",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "Result<&'a str>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"at"
|
|
],
|
|
"returnType": "Result<u64>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "matches",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"pattern"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "https",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"at",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "email",
|
|
"owner": "",
|
|
"params": [
|
|
"v",
|
|
"at"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "hostname",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "identifier",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse_selection",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<(&str, &str)>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "normalize_selection",
|
|
"owner": "",
|
|
"params": [
|
|
"v"
|
|
],
|
|
"returnType": "Result<Option<String>>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "validate_package",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "read_extension",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"folder"
|
|
],
|
|
"returnType": "Result<Extension>",
|
|
"exported": true,
|
|
"lineCount": 21
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ThemeVariant",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"source",
|
|
"image",
|
|
"api_version"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Extension",
|
|
"methods": [],
|
|
"properties": [
|
|
"identifier",
|
|
"image",
|
|
"themes",
|
|
"package",
|
|
"directory"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"resources"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ThemeVariant",
|
|
"Extension",
|
|
"parse_selection",
|
|
"normalize_selection",
|
|
"validate_package",
|
|
"read_extension"
|
|
],
|
|
"totalLines": 133,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/themes/resources.rs": {
|
|
"filePath": "native/src/services/themes/resources.rs",
|
|
"contentHash": "230230e70189fb3991dc529320c96fcdb7ca95cce28452fbf3be0c726fcea82e",
|
|
"functions": [
|
|
{
|
|
"name": "err",
|
|
"owner": "",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "relative",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "link",
|
|
"owner": "",
|
|
"params": [
|
|
"m"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "resolve",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"rel"
|
|
],
|
|
"returnType": "Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "stamp",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"rel",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "read",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"rel",
|
|
"limit"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "extension",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "kind",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Result<AssetKind>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "asset",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"rel"
|
|
],
|
|
"returnType": "Result<Asset>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "validate_svg",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "AssetKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Stylesheet",
|
|
"Image",
|
|
"Font"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Asset",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"mime",
|
|
"bytes"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"io::Read"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"AssetKind",
|
|
"Asset",
|
|
"relative",
|
|
"directory",
|
|
"stamp",
|
|
"read",
|
|
"kind",
|
|
"asset"
|
|
],
|
|
"totalLines": 109,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/themes/stock.css": {
|
|
"filePath": "native/src/services/themes/stock.css",
|
|
"contentHash": "e5823477707bff9fb71cfc23067c7027a76373739249019328f3b9e96393f149",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 221,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/services/themes_tests.rs": {
|
|
"filePath": "native/src/services/themes_tests.rs",
|
|
"contentHash": "2d96ec58f45905f47a56bcdddc114541757b15c29391bc79047d7a44b19f9102",
|
|
"functions": [
|
|
{
|
|
"name": "manifest",
|
|
"owner": "",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "extension",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "imported",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "ResolvedTheme",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "color",
|
|
"owner": "",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "TokenValue",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "package_schema_rejects_unknown_missing_and_invalid_fields",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "selection_legacy_shape_and_embedded_separator",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "package_scan_selection_persistence_and_missing_diagnostic",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "five_minute_cache_refresh_and_late_selection",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "assets_are_scoped_and_preview_does_not_authorize_files",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "stock_values_are_existing_dark_light_and_all_style_tokens",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "escaped_tokens_selectors_and_important_cascade",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "media_queries_and_ignored_rules_are_diagnostic",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "variables_fallback_cycles_and_independent_tokens",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "numeric_types_units_and_nonfinite_limits",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "css_colors_fonts_and_local_assets_remain_data",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "imports_external_resources_escapes_and_budgets_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "svg_never_resolves_external_or_active_content",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "symlinked_package_resource_and_replaced_cached_root_are_rejected",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "scanner_reports_duplicate_names_mismatched_folder_and_limits",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"json",
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 154,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/updates.rs": {
|
|
"filePath": "native/src/services/updates.rs",
|
|
"contentHash": "fc6f30b1a52db7c985579eb043b7e86ecc132318be22608fef72f2acc07cc9b7",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "UpdateError",
|
|
"params": [
|
|
"code",
|
|
"detail"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "from",
|
|
"owner": null,
|
|
"params": [
|
|
"e"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "detect",
|
|
"owner": "Installation",
|
|
"params": [
|
|
"config"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "open_for_install",
|
|
"owner": "VerifiedApk",
|
|
"params": [],
|
|
"returnType": "Result<std::fs::File>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"installation",
|
|
"cache",
|
|
"channel",
|
|
"now",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "subscribe",
|
|
"owner": "UpdateService",
|
|
"params": [],
|
|
"returnType": "watch::Receiver<UpdateStatus>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "status",
|
|
"owner": "UpdateService",
|
|
"params": [],
|
|
"returnType": "UpdateStatus",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "emit",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"inner"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_active_connections",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"count"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"owner": "UpdateService",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_channel",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"channel",
|
|
"now"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "invalidated",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "tick",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"now"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "cancel_download",
|
|
"owner": "UpdateService",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "download",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"explicit"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "fetch_package",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"generation",
|
|
"offer"
|
|
],
|
|
"returnType": "Result<VerifiedFile>",
|
|
"exported": false,
|
|
"lineCount": 34
|
|
},
|
|
{
|
|
"name": "open_release",
|
|
"owner": "UpdateService",
|
|
"params": [],
|
|
"returnType": "Result<UpdateEffect>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "request_install",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"confirm_interrupt"
|
|
],
|
|
"returnType": "Result<UpdateEffect>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "launch_helper",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"request",
|
|
"policy"
|
|
],
|
|
"returnType": "Result<helper::ShutdownGate>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "install_launch_failed",
|
|
"owner": "UpdateService",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "UpdateError",
|
|
"methods": [
|
|
"new",
|
|
"from",
|
|
"from"
|
|
],
|
|
"properties": [
|
|
"code",
|
|
"detail"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "BuildChannel",
|
|
"methods": [],
|
|
"properties": [
|
|
"Direct",
|
|
"GooglePlay",
|
|
"AppStore",
|
|
"TestFlight",
|
|
"Development"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UpdateMode",
|
|
"methods": [],
|
|
"properties": [
|
|
"Automatic",
|
|
"Manual",
|
|
"AndroidInstaller",
|
|
"SystemDistribution",
|
|
"Disabled"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "InstallationConfig",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"version",
|
|
"build_channel",
|
|
"executable",
|
|
"appimage",
|
|
"custom_profile"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "Installation",
|
|
"methods": [
|
|
"detect"
|
|
],
|
|
"properties": [
|
|
"target",
|
|
"version",
|
|
"kind",
|
|
"mode",
|
|
"build_channel",
|
|
"manual_reason",
|
|
"executable",
|
|
"helper",
|
|
"receipt",
|
|
"custom_profile"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "Phase",
|
|
"methods": [],
|
|
"properties": [
|
|
"Disabled",
|
|
"Idle",
|
|
"Checking",
|
|
"UpToDate",
|
|
"Available",
|
|
"Deferred",
|
|
"Downloading",
|
|
"Downloaded",
|
|
"Installing",
|
|
"Error",
|
|
"Stopped"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AvailableUpdate",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"preview",
|
|
"asset",
|
|
"release_url"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SkippedRelease",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UpdateStatus",
|
|
"methods": [],
|
|
"properties": [
|
|
"current_version",
|
|
"channel",
|
|
"mode",
|
|
"manual_reason",
|
|
"target",
|
|
"phase",
|
|
"available",
|
|
"transferred",
|
|
"newer_without_build",
|
|
"newer_preview",
|
|
"error",
|
|
"active_connections",
|
|
"generation",
|
|
"last_checked_at_unix_ms"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "UpdateEffect",
|
|
"methods": [],
|
|
"properties": [
|
|
"OpenRelease",
|
|
"SystemDistribution",
|
|
"AndroidInstall",
|
|
"DesktopInstall"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "InstallRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"handoff",
|
|
"helper",
|
|
"_file"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "VerifiedApk",
|
|
"methods": [
|
|
"open_for_install"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"size",
|
|
"sha512"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Inner",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"offer",
|
|
"downloaded",
|
|
"next_check",
|
|
"stopped",
|
|
"download_explicit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "VerifiedFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"_directory",
|
|
"path"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UpdateService",
|
|
"methods": [
|
|
"new",
|
|
"subscribe",
|
|
"status",
|
|
"emit",
|
|
"set_active_connections",
|
|
"stop",
|
|
"set_channel",
|
|
"invalidated",
|
|
"tick",
|
|
"check",
|
|
"cancel_download",
|
|
"download",
|
|
"fetch_package",
|
|
"open_release",
|
|
"request_install",
|
|
"launch_helper",
|
|
"install_launch_failed"
|
|
],
|
|
"properties": [
|
|
"installation",
|
|
"cache",
|
|
"client",
|
|
"inner",
|
|
"changed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "tokio::sync",
|
|
"specifiers": [
|
|
"watch"
|
|
]
|
|
},
|
|
{
|
|
"source": "source",
|
|
"specifiers": [
|
|
"Offer",
|
|
"Selection"
|
|
]
|
|
},
|
|
{
|
|
"source": "source",
|
|
"specifiers": [
|
|
"Artifact",
|
|
"ArtifactKind",
|
|
"Channel",
|
|
"Manifest",
|
|
"TARGETS"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"UpdateError",
|
|
"new",
|
|
"BuildChannel",
|
|
"UpdateMode",
|
|
"InstallationConfig",
|
|
"Installation",
|
|
"detect",
|
|
"Phase",
|
|
"AvailableUpdate",
|
|
"SkippedRelease",
|
|
"UpdateStatus",
|
|
"UpdateEffect",
|
|
"InstallRequest",
|
|
"VerifiedApk",
|
|
"open_for_install",
|
|
"UpdateService",
|
|
"new",
|
|
"subscribe",
|
|
"status",
|
|
"set_active_connections",
|
|
"stop",
|
|
"set_channel",
|
|
"tick",
|
|
"check",
|
|
"cancel_download",
|
|
"download",
|
|
"open_release",
|
|
"request_install",
|
|
"launch_helper",
|
|
"install_launch_failed"
|
|
],
|
|
"totalLines": 349,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/updates/helper.rs": {
|
|
"filePath": "native/src/services/updates/helper.rs",
|
|
"contentHash": "d152bfa8fea3bc55f98b0f0cf8eabbe9eeadbaecbcc26832c6228eeb8d45828e",
|
|
"functions": [
|
|
{
|
|
"name": "invalid",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "io::Error",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "regular",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "io::Result<fs::Metadata>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "sync_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "hash_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "io::Result<String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "open_verified",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"size",
|
|
"sha512"
|
|
],
|
|
"returnType": "io::Result<File>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "verify_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"size",
|
|
"sha512"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "read_receipt",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "io::Result<Receipt>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "strict_version",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "io::Result<semver::Version>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "validate",
|
|
"owner": "",
|
|
"params": [
|
|
"h"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "verify_machine",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"target"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "private_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "copy_verified",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination",
|
|
"size",
|
|
"sha512"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "commit_after_shutdown",
|
|
"owner": "ShutdownGate",
|
|
"params": [],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "helper_id",
|
|
"owner": "ShutdownGate",
|
|
"params": [],
|
|
"returnType": "u32",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "launch",
|
|
"owner": "",
|
|
"params": [
|
|
"helper",
|
|
"handoff"
|
|
],
|
|
"returnType": "io::Result<ShutdownGate>",
|
|
"exported": true,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "ParentProcess",
|
|
"params": [
|
|
"pid"
|
|
],
|
|
"returnType": "io::Result<Self>",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "wait",
|
|
"owner": "ParentProcess",
|
|
"params": [],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "linux_start_ticks",
|
|
"owner": "",
|
|
"params": [
|
|
"pid"
|
|
],
|
|
"returnType": "io::Result<Option<u64>>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "main_entry",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "install",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"workspace"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "replace_appimage",
|
|
"owner": "",
|
|
"params": [
|
|
"h"
|
|
],
|
|
"returnType": "io::Result<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "install_appimage",
|
|
"owner": "",
|
|
"params": [
|
|
"h"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "replace_and_launch_appimage",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"launch"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "copy_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"from",
|
|
"to",
|
|
"bytes"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "restore_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"backup",
|
|
"root"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "install_nsis",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"workspace"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 42
|
|
},
|
|
{
|
|
"name": "restore_display_version",
|
|
"owner": "",
|
|
"params": [
|
|
"version"
|
|
],
|
|
"returnType": "io::Result<()>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Receipt",
|
|
"methods": [],
|
|
"properties": [
|
|
"schema",
|
|
"id",
|
|
"target",
|
|
"kind",
|
|
"version",
|
|
"executable"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "InstallKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Nsis",
|
|
"Appimage"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Handoff",
|
|
"methods": [],
|
|
"properties": [
|
|
"schema",
|
|
"nonce",
|
|
"kind",
|
|
"target",
|
|
"version",
|
|
"current_version",
|
|
"destination",
|
|
"package",
|
|
"size",
|
|
"sha512",
|
|
"old_size",
|
|
"old_sha512",
|
|
"receipt"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ShutdownGate",
|
|
"methods": [
|
|
"commit_after_shutdown",
|
|
"helper_id",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"pipe",
|
|
"child",
|
|
"nonce"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ParentProcess",
|
|
"methods": [
|
|
"open",
|
|
"wait",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"handle",
|
|
"fd",
|
|
"pid",
|
|
"start_ticks"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha512"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"Receipt",
|
|
"InstallKind",
|
|
"Handoff",
|
|
"regular",
|
|
"sync_directory",
|
|
"hash_file",
|
|
"open_verified",
|
|
"verify_file",
|
|
"read_receipt",
|
|
"ShutdownGate",
|
|
"commit_after_shutdown",
|
|
"helper_id",
|
|
"launch",
|
|
"main_entry"
|
|
],
|
|
"totalLines": 542,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/updates/source.rs": {
|
|
"filePath": "native/src/services/updates/source.rs",
|
|
"contentHash": "2aa8baff9d59c2fcd502ebf6cb6647901f3b1b99c7229a65af1bc10ac04bcf4f",
|
|
"functions": [
|
|
{
|
|
"name": "production",
|
|
"owner": "HttpClient",
|
|
"params": [
|
|
"client"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "HttpClient",
|
|
"params": [
|
|
"url"
|
|
],
|
|
"returnType": "reqwest::RequestBuilder",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "fixture",
|
|
"owner": "HttpClient",
|
|
"params": [
|
|
"origin"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "version",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Result<semver::Version>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "basename",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "decode_hash",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "Manifest",
|
|
"params": [
|
|
"bytes",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "valid_kind",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"kind"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "feed_name",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"kind",
|
|
"version_text"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "expected_auto_name",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"kind",
|
|
"version"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "verify_feed",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"version",
|
|
"artifact"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "base_url",
|
|
"owner": "Offer",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "asset_url",
|
|
"owner": "Offer",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release_url",
|
|
"owner": "Offer",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "available",
|
|
"owner": "Offer",
|
|
"params": [],
|
|
"returnType": "AvailableUpdate",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "select",
|
|
"owner": "",
|
|
"params": [
|
|
"releases",
|
|
"current",
|
|
"channel"
|
|
],
|
|
"returnType": "Result<(Vec<Candidate>, Option<String>)>",
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "http_ok",
|
|
"owner": "",
|
|
"params": [
|
|
"response"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "bounded_body",
|
|
"owner": "",
|
|
"params": [
|
|
"response"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"owner": "Pagination",
|
|
"params": [
|
|
"page",
|
|
"count",
|
|
"total"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "fetch_releases",
|
|
"owner": "",
|
|
"params": [
|
|
"client"
|
|
],
|
|
"returnType": "Result<Vec<serde_json::Value>>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "metadata",
|
|
"owner": "",
|
|
"params": [
|
|
"client",
|
|
"candidate",
|
|
"name"
|
|
],
|
|
"returnType": "Result<Vec<u8>>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "candidate_offer",
|
|
"owner": "",
|
|
"params": [
|
|
"client",
|
|
"candidate",
|
|
"installation"
|
|
],
|
|
"returnType": "Result<Offer>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "check",
|
|
"owner": "",
|
|
"params": [
|
|
"client",
|
|
"installation",
|
|
"channel"
|
|
],
|
|
"returnType": "Result<Selection>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "private_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "std::io::Result<()>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "HttpClient",
|
|
"methods": [
|
|
"production",
|
|
"get",
|
|
"fixture"
|
|
],
|
|
"properties": [
|
|
"client",
|
|
"fixture_origin"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Channel",
|
|
"methods": [],
|
|
"properties": [
|
|
"Stable",
|
|
"Preview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ArtifactKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Nsis",
|
|
"Zip",
|
|
"Appimage",
|
|
"TarGz",
|
|
"Dmg",
|
|
"Apk",
|
|
"Aab",
|
|
"Ipa"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Artifact",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"kind",
|
|
"name",
|
|
"size",
|
|
"sha512"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Manifest",
|
|
"methods": [
|
|
"parse"
|
|
],
|
|
"properties": [
|
|
"schema",
|
|
"engine",
|
|
"version",
|
|
"artifacts"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Feed",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"files",
|
|
"path",
|
|
"sha512"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FeedFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"url",
|
|
"sha512",
|
|
"size"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Offer",
|
|
"methods": [
|
|
"base_url",
|
|
"asset_url",
|
|
"release_url",
|
|
"available"
|
|
],
|
|
"properties": [
|
|
"version",
|
|
"preview",
|
|
"artifact"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Candidate",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"preview",
|
|
"assets"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Selection",
|
|
"methods": [],
|
|
"properties": [
|
|
"offer",
|
|
"skipped",
|
|
"newest_preview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Pagination",
|
|
"methods": [
|
|
"accept"
|
|
],
|
|
"properties": [
|
|
"fetched",
|
|
"total"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"AvailableUpdate",
|
|
"Installation",
|
|
"Result",
|
|
"SkippedRelease",
|
|
"UpdateError"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::Path",
|
|
"time::Duration"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"HttpClient",
|
|
"production",
|
|
"get",
|
|
"fixture",
|
|
"Channel",
|
|
"ArtifactKind",
|
|
"Artifact",
|
|
"Manifest",
|
|
"version",
|
|
"basename",
|
|
"decode_hash",
|
|
"parse",
|
|
"feed_name",
|
|
"verify_feed",
|
|
"Offer",
|
|
"base_url",
|
|
"asset_url",
|
|
"release_url",
|
|
"available",
|
|
"Selection",
|
|
"http_ok",
|
|
"check",
|
|
"private_directory"
|
|
],
|
|
"totalLines": 294,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/updates/tests.rs": {
|
|
"filePath": "native/src/services/updates/tests.rs",
|
|
"contentHash": "86eb06a49f36da52f5cd2b6130a4ec5b8df0b76701a8384f7e87b26c6f7d9be9",
|
|
"functions": [
|
|
{
|
|
"name": "start",
|
|
"owner": "Server",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "put",
|
|
"owner": "Server",
|
|
"params": [
|
|
"path",
|
|
"bytes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "Server",
|
|
"params": [
|
|
"releases"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "Server",
|
|
"params": [
|
|
"version",
|
|
"native"
|
|
],
|
|
"returnType": "Value",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "count_packages",
|
|
"owner": "Server",
|
|
"params": [],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "serve",
|
|
"owner": "",
|
|
"params": [
|
|
"stream",
|
|
"files",
|
|
"requests",
|
|
"stop"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "service",
|
|
"owner": "",
|
|
"params": [
|
|
"server",
|
|
"root",
|
|
"now"
|
|
],
|
|
"returnType": "UpdateService",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "wait_for",
|
|
"owner": "",
|
|
"params": [
|
|
"predicate"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "startup_interval_download_and_no_implicit_install",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "session_defers_background_and_idle_resumes_without_installation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "explicit_download_can_run_during_connection",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "mixed_electron_and_native_releases_choose_latest_complete_native",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "changed_payload_never_reaches_verified_cache_or_install",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "channel_change_cancels_inflight_download_and_late_bytes_cannot_publish",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "connection_started_during_background_download_cancels_then_retries_when_idle",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "custom_profile_cannot_download_or_install_even_with_confirmation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "redirects_and_http_errors_do_not_become_up_to_date",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "manifest_rejects_path_escape_duplicate_isa_and_foreign_engine",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "combined_windows_isas_use_one_x64_yaml_and_no_arm_feed",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "simulator_and_store_builds_never_self_replace",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "cancelled_check_cannot_publish_after_new_channel_completes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "oversized_listing_and_broken_cache_are_errors_without_installable_files",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "verified_file_mutation_is_rejected_again_at_install_boundary",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "android_verified_capability_survives_service_shutdown_and_rechecks_bytes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 22
|
|
},
|
|
{
|
|
"name": "isolated_policy_disables_even_explicit_network_and_install_actions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Response",
|
|
"methods": [],
|
|
"properties": [
|
|
"status",
|
|
"bytes",
|
|
"extra",
|
|
"gate"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"methods": [
|
|
"start",
|
|
"put",
|
|
"list",
|
|
"release",
|
|
"count_packages",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"origin",
|
|
"files",
|
|
"requests",
|
|
"stop",
|
|
"worker"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha512"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"path::Path",
|
|
"thread"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 335,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/whisper.rs": {
|
|
"filePath": "native/src/services/whisper.rs",
|
|
"contentHash": "5e2979c124737b205edd9d462202590b622ffdfda17444b8c59df8a5fbd98ab9",
|
|
"functions": [
|
|
{
|
|
"name": "bad",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "ServiceError",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"min",
|
|
"max"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "null_default",
|
|
"owner": "",
|
|
"params": [
|
|
"deserializer"
|
|
],
|
|
"returnType": "std::result::Result<T,D::Error>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "normalize_id",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"assign"
|
|
],
|
|
"returnType": "Result<String>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "zero",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "null_zero",
|
|
"owner": "",
|
|
"params": [
|
|
"d"
|
|
],
|
|
"returnType": "std::result::Result<String,D::Error>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "normalize",
|
|
"owner": "WhisperList",
|
|
"params": [
|
|
"assign_uuid"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "target",
|
|
"owner": "WhisperList",
|
|
"params": [],
|
|
"returnType": "TargetSpec",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "open",
|
|
"owner": "WhisperStore",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Self>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "WhisperStore",
|
|
"params": [],
|
|
"returnType": "&WhisperState",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "persist",
|
|
"owner": "WhisperStore",
|
|
"params": [
|
|
"next"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "save_list",
|
|
"owner": "WhisperStore",
|
|
"params": [
|
|
"list"
|
|
],
|
|
"returnType": "Result<WhisperList>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "delete_list",
|
|
"owner": "WhisperStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "Result<bool>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "set_receive_mode",
|
|
"owner": "WhisperStore",
|
|
"params": [
|
|
"mode"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list_ids",
|
|
"owner": "WhisperStore",
|
|
"params": [],
|
|
"returnType": "HashSet<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "receive_command",
|
|
"owner": "WhisperStore",
|
|
"params": [],
|
|
"returnType": "Command",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "WhisperHold",
|
|
"params": [
|
|
"binding",
|
|
"key"
|
|
],
|
|
"returnType": "(HoldToken,Option<RoutedCommand>)",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "press",
|
|
"owner": "WhisperHold",
|
|
"params": [
|
|
"binding",
|
|
"key",
|
|
"target"
|
|
],
|
|
"returnType": "(HoldToken,Vec<RoutedCommand>)",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "acknowledge",
|
|
"owner": "WhisperHold",
|
|
"params": [
|
|
"token",
|
|
"current",
|
|
"success"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "held",
|
|
"owner": "WhisperHold",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "epoch",
|
|
"owner": "WhisperHold",
|
|
"params": [
|
|
"current"
|
|
],
|
|
"returnType": "Option<u32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release",
|
|
"owner": "WhisperHold",
|
|
"params": [
|
|
"binding"
|
|
],
|
|
"returnType": "Option<RoutedCommand>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ReceiveMode",
|
|
"methods": [],
|
|
"properties": [
|
|
"AllowAll",
|
|
"DenyAll"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperEntry",
|
|
"methods": [],
|
|
"properties": [
|
|
"name",
|
|
"uuid",
|
|
"kind"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperList",
|
|
"methods": [
|
|
"normalize",
|
|
"target"
|
|
],
|
|
"properties": [
|
|
"list_uuid",
|
|
"name",
|
|
"kind",
|
|
"whisper_entry_list",
|
|
"group_type",
|
|
"group_target_mode",
|
|
"target_server_uuid",
|
|
"target_server_name",
|
|
"target_group_id",
|
|
"target_group_name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "WhisperState",
|
|
"methods": [],
|
|
"properties": [
|
|
"receive_mode",
|
|
"lists",
|
|
"read_only"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperStore",
|
|
"methods": [
|
|
"open",
|
|
"get",
|
|
"persist",
|
|
"save_list",
|
|
"delete_list",
|
|
"set_receive_mode",
|
|
"list_ids",
|
|
"receive_command"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"state",
|
|
"diagnostic",
|
|
"dropped_on_load"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "HoldToken",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"epoch"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "RoutedCommand",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"command"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Hold",
|
|
"methods": [],
|
|
"properties": [
|
|
"binding",
|
|
"token",
|
|
"ready"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperHold",
|
|
"methods": [
|
|
"prepare",
|
|
"press",
|
|
"acknowledge",
|
|
"held",
|
|
"epoch",
|
|
"release"
|
|
],
|
|
"properties": [
|
|
"sequence",
|
|
"hold"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Result",
|
|
"ServiceError"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde",
|
|
"specifiers": [
|
|
"Deserialize",
|
|
"Serialize"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashSet",
|
|
"fs"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"protocol::Command",
|
|
"secure_fs"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"bad",
|
|
"text",
|
|
"null_default",
|
|
"normalize_id",
|
|
"ReceiveMode",
|
|
"WhisperEntry",
|
|
"WhisperList",
|
|
"normalize",
|
|
"target",
|
|
"WhisperState",
|
|
"WhisperStore",
|
|
"open",
|
|
"get",
|
|
"save_list",
|
|
"delete_list",
|
|
"set_receive_mode",
|
|
"list_ids",
|
|
"receive_command",
|
|
"HoldToken",
|
|
"RoutedCommand",
|
|
"WhisperHold",
|
|
"prepare",
|
|
"press",
|
|
"acknowledge",
|
|
"held",
|
|
"epoch",
|
|
"release"
|
|
],
|
|
"totalLines": 149,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/services/whisper_tests.rs": {
|
|
"filePath": "native/src/services/whisper_tests.rs",
|
|
"contentHash": "15549b62b699bd8962ccd11636fc41cb605222ee262553d3fc7a517dc3c2ef43",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Temp",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "WhisperList",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "SessionKey",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "list_normalization_receive_policy_and_two_restarts",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "invalid_and_newer_stores_preserved_until_explicit_save",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "failed_atomic_save_keeps_old_list_and_bytes",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "release_before_ack_never_enables_whisper_or_ordinary_fallback",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "reconnect_and_replaced_hold_reject_late_ack",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "groups_produce_real_typed_commands_without_claiming_delivery",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Temp",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 36,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke.rs": {
|
|
"filePath": "native/src/smoke.rs",
|
|
"contentHash": "a474d097da3eff734fa4520f6661e34bf26087376fe4fce8757ea35cf39cbf8d",
|
|
"functions": [
|
|
{
|
|
"name": "error",
|
|
"owner": "",
|
|
"params": [
|
|
"error"
|
|
],
|
|
"returnType": "AppError",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "",
|
|
"params": [
|
|
"scenario",
|
|
"profile",
|
|
"output"
|
|
],
|
|
"returnType": "Result<Prepared,AppError>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"scenario",
|
|
"profile",
|
|
"output"
|
|
],
|
|
"returnType": "Result<(),AppError>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "transition",
|
|
"owner": "Driver",
|
|
"params": [
|
|
"step"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "Driver",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "SmokeResult<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "tick",
|
|
"owner": "Driver",
|
|
"params": [],
|
|
"returnType": "SmokeResult<bool>",
|
|
"exported": false,
|
|
"lineCount": 129
|
|
},
|
|
{
|
|
"name": "choose",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"id",
|
|
"index"
|
|
],
|
|
"returnType": "SmokeResult<()>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "default_uid",
|
|
"owner": "",
|
|
"params": [
|
|
"snapshot"
|
|
],
|
|
"returnType": "SmokeResult<String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "screenshot",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"output",
|
|
"name"
|
|
],
|
|
"returnType": "SmokeResult<Value>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "run_prepared",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"generation",
|
|
"prepared"
|
|
],
|
|
"returnType": "Result<(),AppError>",
|
|
"exported": true,
|
|
"lineCount": 71
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Prepared",
|
|
"methods": [],
|
|
"properties": [
|
|
"scenario",
|
|
"profile",
|
|
"output",
|
|
"migration"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Driver",
|
|
"methods": [
|
|
"transition",
|
|
"capture",
|
|
"tick"
|
|
],
|
|
"properties": [
|
|
"attachment",
|
|
"runtime",
|
|
"chat",
|
|
"output",
|
|
"step",
|
|
"phase_started",
|
|
"checks",
|
|
"screenshots",
|
|
"uid",
|
|
"capture_completed",
|
|
"navigation_target",
|
|
"requested_assets",
|
|
"result"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "Step",
|
|
"methods": [],
|
|
"properties": [
|
|
"Boot",
|
|
"Onboarding",
|
|
"Category",
|
|
"Variant",
|
|
"Markup",
|
|
"Capture",
|
|
"Chat",
|
|
"Done"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"fs",
|
|
"path::PathBuf",
|
|
"rc::Rc",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle",
|
|
"Model"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppConfig",
|
|
"AppError",
|
|
"AppRuntime",
|
|
"AppWindow",
|
|
"DialogBridge",
|
|
"SettingsBridge",
|
|
"ShellBridge",
|
|
"MarkupBridge",
|
|
"Theme",
|
|
"app::runtime::model::BootstrapState"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Prepared",
|
|
"prepare",
|
|
"run",
|
|
"run_prepared"
|
|
],
|
|
"totalLines": 285,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke/chat.rs": {
|
|
"filePath": "native/src/smoke/chat.rs",
|
|
"contentHash": "bad4983b8c116c8e378282adac7ee94154435aa676ab7b370739c6c01f60e081",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "ChatFixture",
|
|
"params": [
|
|
"output"
|
|
],
|
|
"returnType": "Result<Self, String>",
|
|
"exported": true,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "ChatFixture",
|
|
"params": [
|
|
"window"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "tick",
|
|
"owner": "ChatFixture",
|
|
"params": [],
|
|
"returnType": "Result<Option<Value>, String>",
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "finish",
|
|
"owner": "ChatFixture",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ChatFixture",
|
|
"methods": [
|
|
"new",
|
|
"bind",
|
|
"tick",
|
|
"finish"
|
|
],
|
|
"properties": [
|
|
"window",
|
|
"binding",
|
|
"target",
|
|
"results",
|
|
"requests",
|
|
"worker",
|
|
"sent",
|
|
"stop"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"thread"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppWindow",
|
|
"ChatBridge",
|
|
"ShellBridge"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command",
|
|
"TextTarget"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ChatFixture",
|
|
"new",
|
|
"bind",
|
|
"tick",
|
|
"finish"
|
|
],
|
|
"totalLines": 107,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke/fixtures.rs": {
|
|
"filePath": "native/src/smoke/fixtures.rs",
|
|
"contentHash": "cfe68f1cae2cdc8dde229a68f8f08591e0decc2b1403eafa614e1bd15306fd51",
|
|
"functions": [
|
|
{
|
|
"name": "hashes",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<BTreeMap<PathBuf, Vec<u8>>, String>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "migration",
|
|
"owner": "",
|
|
"params": [
|
|
"profile",
|
|
"output"
|
|
],
|
|
"returnType": "Result<MigrationProof, String>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "verify",
|
|
"owner": "MigrationProof",
|
|
"params": [
|
|
"profile"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "stale_session",
|
|
"owner": "",
|
|
"params": [
|
|
"output"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "MigrationProof",
|
|
"methods": [
|
|
"verify"
|
|
],
|
|
"properties": [
|
|
"uid",
|
|
"source",
|
|
"hashes",
|
|
"history"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"fs",
|
|
"sync::Arc"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"profile::Store"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"MigrationProof",
|
|
"migration",
|
|
"verify",
|
|
"stale_session"
|
|
],
|
|
"totalLines": 80,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke/focus.rs": {
|
|
"filePath": "native/src/smoke/focus.rs",
|
|
"contentHash": "368f1b36583ebb32a64398caef74b9e655fe9cff2f7428a5aaf1bc8cff353061",
|
|
"functions": [
|
|
{
|
|
"name": "text_entry",
|
|
"owner": "",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"returnType": "Result<Value,String>",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "selected_value",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"label",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppWindow"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"text_entry",
|
|
"selected_value"
|
|
],
|
|
"totalLines": 39,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke/headless.rs": {
|
|
"filePath": "native/src/smoke/headless.rs",
|
|
"contentHash": "d7df31fc4e3169f81174c3160f992e4385be0196d8ade4f18e2ef300a9a5fcde",
|
|
"functions": [
|
|
{
|
|
"name": "quit_event_loop",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<(), slint::EventLoopError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "invoke_from_event_loop",
|
|
"owner": null,
|
|
"params": [
|
|
"callback"
|
|
],
|
|
"returnType": "Result<(), slint::EventLoopError>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "create_window_adapter",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<Rc<dyn WindowAdapter>, slint::PlatformError>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "new_event_loop_proxy",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Option<Box<dyn EventLoopProxy>>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "duration_since_start",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Duration",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "run_event_loop",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Result<(), slint::PlatformError>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "install",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Queue",
|
|
"methods": [],
|
|
"properties": [
|
|
"callbacks",
|
|
"quit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Proxy",
|
|
"methods": [
|
|
"quit_event_loop",
|
|
"invoke_from_event_loop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Surface",
|
|
"methods": [],
|
|
"properties": [
|
|
"window",
|
|
"pixels"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Headless",
|
|
"methods": [
|
|
"create_window_adapter",
|
|
"new_event_loop_proxy",
|
|
"duration_since_start",
|
|
"run_event_loop"
|
|
],
|
|
"properties": [
|
|
"queue",
|
|
"windows",
|
|
"started"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "slint::platform",
|
|
"specifiers": [
|
|
"EventLoopProxy",
|
|
"Platform",
|
|
"WindowAdapter"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint::platform::software_renderer",
|
|
"specifiers": [
|
|
"MinimalSoftwareWindow",
|
|
"RepaintBufferType"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::VecDeque"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"install"
|
|
],
|
|
"totalLines": 76,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/smoke/media.rs": {
|
|
"filePath": "native/src/smoke/media.rs",
|
|
"contentHash": "1c67c9dbaf8a140ecd93e0ec9851b95a5c96c0067309d017eab6cf977f0d42d2",
|
|
"functions": [
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"output"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 111
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Peers",
|
|
"methods": [
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"peers",
|
|
"source",
|
|
"relays"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "libwebrtc",
|
|
"specifiers": [
|
|
"peer_connection_factory::RtcConfiguration"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": []
|
|
}
|
|
],
|
|
"exports": [
|
|
"run"
|
|
],
|
|
"totalLines": 127,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/application.rs": {
|
|
"filePath": "native/src/ui/application.rs",
|
|
"contentHash": "6b755cb8744aa1ffd2ae71d641c4204b1722b1468cf058bfa9f6921004b3422f",
|
|
"functions": [
|
|
{
|
|
"name": "window",
|
|
"owner": "UiAttachment",
|
|
"params": [],
|
|
"returnType": "&AppWindow",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"owner": "UiAttachment",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "take_startup_error",
|
|
"owner": "UiAttachment",
|
|
"params": [],
|
|
"returnType": "Option<crate::services::ServiceError>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"generation"
|
|
],
|
|
"returnType": "Result<UiAttachment,AppError>",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "report",
|
|
"owner": "",
|
|
"params": [
|
|
"runtime",
|
|
"error"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"runtime",
|
|
"bindings"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 44
|
|
},
|
|
{
|
|
"name": "apply_theme",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"snapshot"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Bindings",
|
|
"methods": [],
|
|
"properties": [
|
|
"shell",
|
|
"settings",
|
|
"chat",
|
|
"revision",
|
|
"destination",
|
|
"fonts",
|
|
"panes",
|
|
"frames"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "UiAttachment",
|
|
"methods": [
|
|
"window",
|
|
"generation",
|
|
"take_startup_error",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"window",
|
|
"runtime",
|
|
"generation",
|
|
"_bindings",
|
|
"_timer",
|
|
"_desktop",
|
|
"desktop_task",
|
|
"startup_error",
|
|
"_apple",
|
|
"_accessibility"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::HashMap",
|
|
"rc::Rc",
|
|
"sync::Arc",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppRuntime",
|
|
"AppWindow",
|
|
"AppError",
|
|
"Theme",
|
|
"ShellBridge"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"UiAttachment",
|
|
"window",
|
|
"generation",
|
|
"take_startup_error",
|
|
"bind"
|
|
],
|
|
"totalLines": 130,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat.rs": {
|
|
"filePath": "native/src/ui/chat.rs",
|
|
"contentHash": "c7696d4fa12cdd725e2963da2df0fcbe445c55622681f308cb8acbe5d76684ef",
|
|
"functions": [
|
|
{
|
|
"name": "draft_key",
|
|
"owner": "ConversationTarget",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "ChatMessage",
|
|
"params": [
|
|
"id",
|
|
"source",
|
|
"author",
|
|
"time_ms",
|
|
"clock",
|
|
"day_clock"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "next_render_generation",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "u64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "tr",
|
|
"owner": "",
|
|
"params": [
|
|
"language",
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "model",
|
|
"owner": "",
|
|
"params": [
|
|
"rows"
|
|
],
|
|
"returnType": "ModelRc<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "with_ui",
|
|
"owner": "",
|
|
"params": [
|
|
"weak",
|
|
"state",
|
|
"f"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"emit"
|
|
],
|
|
"returnType": "ChatBinding",
|
|
"exported": true,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"presentation"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "acknowledge_send",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"target",
|
|
"receipt",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "append_attachment",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"target",
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "present_preview",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"target",
|
|
"revision",
|
|
"preview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "set_visibility",
|
|
"owner": "",
|
|
"params": [
|
|
"binding",
|
|
"visible"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "present_asset",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "load_image",
|
|
"owner": "",
|
|
"params": [
|
|
"image"
|
|
],
|
|
"returnType": "Result<(slint::Image,f32,f32),String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "measure",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"text",
|
|
"style"
|
|
],
|
|
"returnType": "(f32,f32)",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "convert_visual",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"message",
|
|
"assets",
|
|
"preview_position",
|
|
"own",
|
|
"compact"
|
|
],
|
|
"returnType": "ChatVisual",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "same_visual",
|
|
"owner": "",
|
|
"params": [
|
|
"left",
|
|
"right"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "prepare_system_message",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 2
|
|
},
|
|
{
|
|
"name": "source_id",
|
|
"owner": "",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "current_key",
|
|
"owner": "State",
|
|
"params": [],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "editor_mut",
|
|
"owner": "State",
|
|
"params": [],
|
|
"returnType": "Option<&mut editor::Editor>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "draft_changed",
|
|
"owner": "State",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "send",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "metadata",
|
|
"owner": "State",
|
|
"params": [],
|
|
"returnType": "HashMap<String,render::Asset>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prune_assets",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "avatar",
|
|
"owner": "State",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "Option<slint::Image>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "refresh_log",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "refresh_editor",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui",
|
|
"focus"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "publish_completions",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui",
|
|
"command"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "activate",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui",
|
|
"id",
|
|
"automatic"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "select_text",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui",
|
|
"id",
|
|
"x",
|
|
"y",
|
|
"extend"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "selected_text",
|
|
"owner": "State",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "publish_selection",
|
|
"owner": "State",
|
|
"params": [
|
|
"ui"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "preview_document",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"source",
|
|
"document",
|
|
"width"
|
|
],
|
|
"returnType": "Vec<ChatVisual>",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "preview_with_assets",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"source",
|
|
"document",
|
|
"width",
|
|
"results"
|
|
],
|
|
"returnType": "MarkupPreview",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ChatTarget",
|
|
"methods": [],
|
|
"properties": [
|
|
"Server",
|
|
"Channel",
|
|
"Client"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConversationTarget",
|
|
"methods": [
|
|
"draft_key"
|
|
],
|
|
"properties": [
|
|
"session",
|
|
"scope",
|
|
"target"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"SelectConversation",
|
|
"CloseConversation",
|
|
"HistoryPage",
|
|
"SearchHistory",
|
|
"Send",
|
|
"DraftChanged",
|
|
"Attach",
|
|
"ClientInfo",
|
|
"OpenLink",
|
|
"DownloadFile",
|
|
"RenderAsset",
|
|
"CancelAsset",
|
|
"CancelAssets",
|
|
"RenderHelpAsset",
|
|
"CancelHelp",
|
|
"Visibility",
|
|
"CopyText",
|
|
"SetHybrid"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "SendReceipt",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"draft_key",
|
|
"draft_revision",
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AssetKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Math",
|
|
"Diagram",
|
|
"ServerImage"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AssetRequest",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"id",
|
|
"generation",
|
|
"kind"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatImage",
|
|
"methods": [],
|
|
"properties": [
|
|
"Svg",
|
|
"Rgba"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatAssetResult",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"id",
|
|
"generation",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatMessage",
|
|
"methods": [
|
|
"text"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"source",
|
|
"document",
|
|
"author",
|
|
"author_uid",
|
|
"time_ms",
|
|
"clock",
|
|
"day_clock",
|
|
"own",
|
|
"system",
|
|
"visible",
|
|
"emphasis",
|
|
"avatar"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ConversationTab",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"title",
|
|
"unread",
|
|
"active",
|
|
"closable"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ConversationPresentation",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"title",
|
|
"messages",
|
|
"draft",
|
|
"draft_revision",
|
|
"can_send",
|
|
"can_attach",
|
|
"status",
|
|
"error",
|
|
"loading",
|
|
"before",
|
|
"older_page"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "ToolbarVisibility",
|
|
"methods": [],
|
|
"properties": [
|
|
"Always",
|
|
"Never",
|
|
"Dynamic"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ChatPresentation",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"tabs",
|
|
"conversation",
|
|
"language",
|
|
"compact_messages",
|
|
"hybrid",
|
|
"toolbar",
|
|
"auto_download_images",
|
|
"auto_diagrams"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "BoundInteraction",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"interaction"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "StoredAsset",
|
|
"methods": [],
|
|
"properties": [
|
|
"metadata",
|
|
"image"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Selection",
|
|
"methods": [],
|
|
"properties": [
|
|
"anchor_row",
|
|
"anchor",
|
|
"row",
|
|
"cursor",
|
|
"active"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [
|
|
"drop",
|
|
"current_key",
|
|
"editor_mut",
|
|
"draft_changed",
|
|
"send",
|
|
"metadata",
|
|
"prune_assets",
|
|
"avatar",
|
|
"refresh_log",
|
|
"refresh_editor",
|
|
"publish_completions",
|
|
"command",
|
|
"activate",
|
|
"select_text",
|
|
"selected_text",
|
|
"publish_selection"
|
|
],
|
|
"properties": [
|
|
"presentation",
|
|
"editors",
|
|
"pending",
|
|
"actions",
|
|
"revealed",
|
|
"assets",
|
|
"requested",
|
|
"generation",
|
|
"log",
|
|
"log_messages",
|
|
"rows",
|
|
"selection",
|
|
"completions",
|
|
"completion_index",
|
|
"width",
|
|
"editor_width",
|
|
"editor_stamp",
|
|
"action_labels",
|
|
"scenes",
|
|
"avatars",
|
|
"theme_signature",
|
|
"programmatic",
|
|
"language",
|
|
"emit",
|
|
"help",
|
|
"visible_target"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "ChatBinding",
|
|
"methods": [],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MarkupPreview",
|
|
"methods": [],
|
|
"properties": [
|
|
"rows",
|
|
"requests"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "help",
|
|
"specifiers": []
|
|
},
|
|
{
|
|
"source": "prepared",
|
|
"specifiers": [
|
|
"PreparedDocument"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppWindow",
|
|
"ChatBridge",
|
|
"ChatCompletion",
|
|
"ChatRun",
|
|
"ChatTab",
|
|
"ChatVisual",
|
|
"Theme"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"chat_history::HistoryScope"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle",
|
|
"Model",
|
|
"ModelRc",
|
|
"SharedString",
|
|
"VecModel"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"rc::Rc"
|
|
]
|
|
},
|
|
{
|
|
"source": "unicode_segmentation",
|
|
"specifiers": [
|
|
"UnicodeSegmentation"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ChatTarget",
|
|
"ConversationTarget",
|
|
"ChatAction",
|
|
"SendReceipt",
|
|
"AssetKind",
|
|
"AssetRequest",
|
|
"ChatImage",
|
|
"ChatAssetResult",
|
|
"ChatMessage",
|
|
"text",
|
|
"ConversationTab",
|
|
"ConversationPresentation",
|
|
"ToolbarVisibility",
|
|
"ChatPresentation",
|
|
"ChatBinding",
|
|
"bind",
|
|
"present",
|
|
"acknowledge_send",
|
|
"append_attachment",
|
|
"present_preview",
|
|
"set_visibility",
|
|
"present_asset",
|
|
"prepare_system_message",
|
|
"preview_document",
|
|
"MarkupPreview",
|
|
"preview_with_assets"
|
|
],
|
|
"totalLines": 356,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/editor.rs": {
|
|
"filePath": "native/src/ui/chat/editor.rs",
|
|
"contentHash": "a9a4198f4980e1c696aab88caf28a36a988d53f6064c5606b28b85005003c137",
|
|
"functions": [
|
|
{
|
|
"name": "range",
|
|
"owner": "Selection",
|
|
"params": [],
|
|
"returnType": "Range<usize>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "caret",
|
|
"owner": "Selection",
|
|
"params": [
|
|
"position"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "ParsedDraft",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "boundary",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"offset"
|
|
],
|
|
"returnType": "usize",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "&Selection",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "install_parsed",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"revision",
|
|
"parsed"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "set_selection",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"anchor",
|
|
"cursor"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "can_undo",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "can_redo",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"range",
|
|
"insert",
|
|
"selection"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "native_edit",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"text",
|
|
"anchor",
|
|
"cursor"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "undo",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "redo",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "insert",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "format",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "complete",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"c"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "completions",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "Vec<Completion>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "continue_line",
|
|
"owner": "Editor",
|
|
"params": [],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "indent",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"direction"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "hybrid_blocks",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"hybrid"
|
|
],
|
|
"returnType": "(Vec<PreviewBlock>,Vec<PreviewBlock>)",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "source_gap",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"range"
|
|
],
|
|
"returnType": "PreviewBlock",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "input_context",
|
|
"owner": "",
|
|
"params": [
|
|
"text",
|
|
"line"
|
|
],
|
|
"returnType": "Context",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "emoji_search",
|
|
"owner": "",
|
|
"params": [
|
|
"query",
|
|
"replace",
|
|
"limit"
|
|
],
|
|
"returnType": "Vec<Completion>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Selection",
|
|
"methods": [
|
|
"range",
|
|
"caret"
|
|
],
|
|
"properties": [
|
|
"anchor",
|
|
"cursor"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Snapshot",
|
|
"methods": [],
|
|
"properties": [
|
|
"text",
|
|
"selection"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Editor",
|
|
"methods": [
|
|
"new",
|
|
"text",
|
|
"selection",
|
|
"install_parsed",
|
|
"set_selection",
|
|
"can_undo",
|
|
"can_redo",
|
|
"replace",
|
|
"native_edit",
|
|
"undo",
|
|
"redo",
|
|
"insert",
|
|
"format",
|
|
"complete",
|
|
"completions",
|
|
"continue_line",
|
|
"indent",
|
|
"hybrid_blocks"
|
|
],
|
|
"properties": [
|
|
"current",
|
|
"undo",
|
|
"redo",
|
|
"revision",
|
|
"composing",
|
|
"active",
|
|
"parsed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "PreviewBlock",
|
|
"methods": [],
|
|
"properties": [
|
|
"range",
|
|
"document"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Completion",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"replace",
|
|
"emoji"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Snippet",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"prefix",
|
|
"suffix",
|
|
"lines"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ParsedDraft",
|
|
"methods": [
|
|
"parse"
|
|
],
|
|
"properties": [
|
|
"source",
|
|
"blocks"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Context",
|
|
"methods": [],
|
|
"properties": [
|
|
"list",
|
|
"code",
|
|
"quotes"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::services::chat::parse",
|
|
"specifiers": [
|
|
"self",
|
|
"BlockKind"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::VecDeque",
|
|
"ops::Range"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::prepared",
|
|
"specifiers": [
|
|
"PreparedDocument"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Selection",
|
|
"range",
|
|
"caret",
|
|
"Editor",
|
|
"PreviewBlock",
|
|
"Completion",
|
|
"Snippet",
|
|
"ParsedDraft",
|
|
"parse",
|
|
"new",
|
|
"text",
|
|
"selection",
|
|
"install_parsed",
|
|
"set_selection",
|
|
"can_undo",
|
|
"can_redo",
|
|
"replace",
|
|
"native_edit",
|
|
"undo",
|
|
"redo",
|
|
"insert",
|
|
"format",
|
|
"complete",
|
|
"completions",
|
|
"continue_line",
|
|
"indent",
|
|
"hybrid_blocks",
|
|
"emoji_search"
|
|
],
|
|
"totalLines": 173,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/emoji.json": {
|
|
"filePath": "native/src/ui/chat/emoji.json",
|
|
"contentHash": "0fa22e8f2f07e2468dc59d0bcdcf3d476b92ce5812be62ae5ae507049c8a0e62",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 1,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/ui/chat/en.json": {
|
|
"filePath": "native/src/ui/chat/en.json",
|
|
"contentHash": "26177f0c2633fec614b21b885986c36b24be80290ee9c1cf886a6d127dc1d99f",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 284,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/ui/chat/help.rs": {
|
|
"filePath": "native/src/ui/chat/help.rs",
|
|
"contentHash": "f21c4306402c7087bd1f6e2e46cc959eaed8bdd9b8911844457e508c5629ba0f",
|
|
"functions": [
|
|
{
|
|
"name": "bind",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "request",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"id"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "close",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"source",
|
|
"document"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "present_asset",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"id",
|
|
"generation",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "refresh",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "HelpState",
|
|
"methods": [],
|
|
"properties": [
|
|
"source",
|
|
"document",
|
|
"results",
|
|
"requests",
|
|
"requested",
|
|
"generation",
|
|
"width",
|
|
"signature",
|
|
"dirty"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"MarkupBridge"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"HelpState",
|
|
"bind",
|
|
"close",
|
|
"present",
|
|
"present_asset",
|
|
"refresh"
|
|
],
|
|
"totalLines": 41,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/policy.rs": {
|
|
"filePath": "native/src/ui/chat/policy.rs",
|
|
"contentHash": "40356f94d78d79f9255c51d2072ef5d567ef983ee3c405f2fc271e717b2c2d26",
|
|
"functions": [
|
|
{
|
|
"name": "external",
|
|
"owner": "",
|
|
"params": [
|
|
"href",
|
|
"email"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "decode",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "server_file",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"image"
|
|
],
|
|
"returnType": "Option<ServerFile>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "link",
|
|
"owner": "",
|
|
"params": [
|
|
"href",
|
|
"email"
|
|
],
|
|
"returnType": "Option<Link>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "image_dimension",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"available"
|
|
],
|
|
"returnType": "Option<f32>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "image_dimensions",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"available",
|
|
"intrinsic"
|
|
],
|
|
"returnType": "(f32,f32)",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "attachments",
|
|
"owner": "",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "(Vec<ServerFile>,bool)",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "validate_svg",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "validate_css_urls",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ServerFile",
|
|
"methods": [],
|
|
"properties": [
|
|
"server_uid",
|
|
"channel_id",
|
|
"path",
|
|
"name",
|
|
"is_directory",
|
|
"size"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Link",
|
|
"methods": [],
|
|
"properties": [
|
|
"External",
|
|
"ServerFile"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "reqwest",
|
|
"specifiers": [
|
|
"Url"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ServerFile",
|
|
"Link",
|
|
"external",
|
|
"server_file",
|
|
"link",
|
|
"image_dimension",
|
|
"image_dimensions",
|
|
"attachments",
|
|
"validate_svg"
|
|
],
|
|
"totalLines": 70,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/prepared.rs": {
|
|
"filePath": "native/src/ui/chat/prepared.rs",
|
|
"contentHash": "985a1e5eb447dec53aa629ce9982a1bb6c345a3488a7081b6b60f360c79ba554",
|
|
"functions": [
|
|
{
|
|
"name": "deref",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "&Document",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "PreparedDocument",
|
|
"params": [
|
|
"source"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "from_document",
|
|
"owner": "PreparedDocument",
|
|
"params": [
|
|
"document"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "fragment",
|
|
"owner": "PreparedDocument",
|
|
"params": [
|
|
"document"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PreparedDocument",
|
|
"methods": [
|
|
"deref",
|
|
"default",
|
|
"parse",
|
|
"from_document",
|
|
"fragment"
|
|
],
|
|
"properties": [
|
|
"document",
|
|
"links",
|
|
"images",
|
|
"files",
|
|
"hide_text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super::policy",
|
|
"specifiers": [
|
|
"self",
|
|
"Link",
|
|
"ServerFile"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat::parse",
|
|
"specifiers": [
|
|
"self",
|
|
"Document",
|
|
"Block",
|
|
"BlockKind",
|
|
"Inline",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::HashMap",
|
|
"sync::Arc",
|
|
"ops::Deref"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"PreparedDocument",
|
|
"parse",
|
|
"from_document",
|
|
"fragment"
|
|
],
|
|
"totalLines": 36,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/render.rs": {
|
|
"filePath": "native/src/ui/chat/render.rs",
|
|
"contentHash": "9ff8e251a599187b9de8939c1a6a3e8badb622e990d9c451e7a122b9bfa810d7",
|
|
"functions": [
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse",
|
|
"owner": "Align",
|
|
"params": [
|
|
"s"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "prepared_document",
|
|
"owner": "",
|
|
"params": [
|
|
"doc",
|
|
"id",
|
|
"options",
|
|
"measure"
|
|
],
|
|
"returnType": "Scene",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "document",
|
|
"owner": "",
|
|
"params": [
|
|
"doc",
|
|
"id",
|
|
"options",
|
|
"measure"
|
|
],
|
|
"returnType": "Scene",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "atom",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"text",
|
|
"style"
|
|
],
|
|
"returnType": "Atom",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "register",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"key",
|
|
"interaction"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "inline",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"nodes",
|
|
"path",
|
|
"style"
|
|
],
|
|
"returnType": "Vec<Atom>",
|
|
"exported": false,
|
|
"lineCount": 18
|
|
},
|
|
{
|
|
"name": "asset_atom",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"key",
|
|
"source",
|
|
"style",
|
|
"action"
|
|
],
|
|
"returnType": "Atom",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "blocks",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"blocks",
|
|
"path",
|
|
"indent",
|
|
"style",
|
|
"align"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "list",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"list",
|
|
"path",
|
|
"indent",
|
|
"style"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "flow",
|
|
"owner": "Renderer<'_,'_>",
|
|
"params": [
|
|
"id",
|
|
"atoms",
|
|
"indent",
|
|
"kind",
|
|
"label",
|
|
"align"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 24
|
|
},
|
|
{
|
|
"name": "push_run",
|
|
"owner": "",
|
|
"params": [
|
|
"row",
|
|
"atom",
|
|
"text",
|
|
"style",
|
|
"x",
|
|
"y",
|
|
"width",
|
|
"height"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "split_tokens",
|
|
"owner": "",
|
|
"params": [
|
|
"text"
|
|
],
|
|
"returnType": "Vec<&str>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "align_line",
|
|
"owner": "",
|
|
"params": [
|
|
"runs",
|
|
"used",
|
|
"width",
|
|
"align"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "font_size",
|
|
"owner": "",
|
|
"params": [
|
|
"size",
|
|
"base"
|
|
],
|
|
"returnType": "f32",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "parse_color",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<[u8;4]>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "sender_color",
|
|
"owner": "",
|
|
"params": [
|
|
"name",
|
|
"background"
|
|
],
|
|
"returnType": "[u8;3]",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Style",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"size",
|
|
"weight",
|
|
"italic",
|
|
"underline",
|
|
"strike",
|
|
"mono",
|
|
"mark",
|
|
"color",
|
|
"shift"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Interaction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Link",
|
|
"Image",
|
|
"Spoiler",
|
|
"Details",
|
|
"Footnote",
|
|
"Math",
|
|
"Diagram"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Asset",
|
|
"methods": [],
|
|
"properties": [
|
|
"width",
|
|
"height",
|
|
"ready",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Run",
|
|
"methods": [],
|
|
"properties": [
|
|
"x",
|
|
"y",
|
|
"width",
|
|
"height",
|
|
"text",
|
|
"style",
|
|
"action",
|
|
"asset",
|
|
"text_range",
|
|
"concealed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Visual",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"height",
|
|
"runs",
|
|
"plain",
|
|
"kind",
|
|
"indent",
|
|
"label"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Scene",
|
|
"methods": [],
|
|
"properties": [
|
|
"rows",
|
|
"actions",
|
|
"automatic"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Options",
|
|
"methods": [],
|
|
"properties": [
|
|
"width",
|
|
"font_scale",
|
|
"preview",
|
|
"revealed",
|
|
"assets",
|
|
"auto_images",
|
|
"auto_diagrams"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Atom",
|
|
"methods": [],
|
|
"properties": [
|
|
"text",
|
|
"style",
|
|
"action",
|
|
"asset",
|
|
"width",
|
|
"height",
|
|
"concealed"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Align",
|
|
"methods": [
|
|
"parse"
|
|
],
|
|
"properties": [
|
|
"Left",
|
|
"Center",
|
|
"Right",
|
|
"Justify"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Renderer",
|
|
"methods": [],
|
|
"properties": [
|
|
"options",
|
|
"scene",
|
|
"measure",
|
|
"root_id",
|
|
"policies"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super::policy",
|
|
"specifiers": [
|
|
"self",
|
|
"Link",
|
|
"ServerFile"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat::parse",
|
|
"specifiers": [
|
|
"Block",
|
|
"BlockKind",
|
|
"Inline",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::prepared",
|
|
"specifiers": [
|
|
"PreparedDocument"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
},
|
|
{
|
|
"source": "unicode_segmentation",
|
|
"specifiers": [
|
|
"UnicodeSegmentation"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Style",
|
|
"Interaction",
|
|
"Asset",
|
|
"Run",
|
|
"Visual",
|
|
"Scene",
|
|
"Options",
|
|
"prepared_document",
|
|
"document",
|
|
"sender_color"
|
|
],
|
|
"totalLines": 119,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/chat/ru.json": {
|
|
"filePath": "native/src/ui/chat/ru.json",
|
|
"contentHash": "1000b96e8fdad24841ddc0dee0e9abf3c57c9c06879864fc12c0d4748d32e5a9",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 284,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/src/ui/chat/tests.rs": {
|
|
"filePath": "native/src/ui/chat/tests.rs",
|
|
"contentHash": "dcfba73b1fd21d64003709c7a77ae25256a9a8456b4066b24a0cce24b954829a",
|
|
"functions": [
|
|
{
|
|
"name": "scene",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"revealed",
|
|
"assets"
|
|
],
|
|
"returnType": "render::Scene",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "rich_corpus_keeps_visible_styles_and_distinct_blocks",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "render_artifact_replaces_source_without_executing_it",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "hostile_corpus_never_creates_external_image_or_active_url_actions",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "server_file_cards_retain_scope_and_external_svg_is_refused",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "every_formatting_command_is_one_undoable_source_transaction",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "native_ime_commit_keeps_the_whole_draft_and_one_undo",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "selection_paste_and_completion_keep_unrelated_source",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"policy",
|
|
"render"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services::chat",
|
|
"specifiers": [
|
|
"parse"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap",
|
|
"HashSet"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 64,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/i18n.rs": {
|
|
"filePath": "native/src/ui/i18n.rs",
|
|
"contentHash": "baaf7639a077a5f82cb7be3655670e5e6aac82a5517cb2fde8ded48447e7e717",
|
|
"functions": [
|
|
{
|
|
"name": "from_code",
|
|
"owner": "Language",
|
|
"params": [
|
|
"code"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "code",
|
|
"owner": "Language",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Catalog",
|
|
"params": [
|
|
"language"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"owner": "Catalog",
|
|
"params": [],
|
|
"returnType": "&'static Messages",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "contains",
|
|
"owner": "Catalog",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "Catalog",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "format",
|
|
"owner": "Catalog",
|
|
"params": [
|
|
"key",
|
|
"args"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "Catalog",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "plural",
|
|
"owner": "",
|
|
"params": [
|
|
"language",
|
|
"count"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Language",
|
|
"methods": [
|
|
"from_code",
|
|
"code"
|
|
],
|
|
"properties": [
|
|
"En",
|
|
"Ru"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Message",
|
|
"methods": [],
|
|
"properties": [
|
|
"Text",
|
|
"Plural"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Catalog",
|
|
"methods": [
|
|
"new",
|
|
"messages",
|
|
"contains",
|
|
"text",
|
|
"format",
|
|
"number"
|
|
],
|
|
"properties": [
|
|
"language"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"sync::LazyLock"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Language",
|
|
"from_code",
|
|
"code",
|
|
"Catalog",
|
|
"new",
|
|
"contains",
|
|
"text",
|
|
"format",
|
|
"number"
|
|
],
|
|
"totalLines": 101,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/mod.rs": {
|
|
"filePath": "native/src/ui/mod.rs",
|
|
"contentHash": "2025fad6ebf648dc139e745341e9ace002e8cef2638a989c016beb63fb0066f4",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 7,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings.rs": {
|
|
"filePath": "native/src/ui/settings.rs",
|
|
"contentHash": "ebccd1cd21556d107b4001be1fa9386ebfefe67c0f52c789ff6cc8bbfaef7f22",
|
|
"functions": [
|
|
{
|
|
"name": "acknowledge",
|
|
"owner": "Binding",
|
|
"params": [
|
|
"stable_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clear_sensitive",
|
|
"owner": "Binding",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "draft",
|
|
"owner": "Binding",
|
|
"params": [
|
|
"stable_id"
|
|
],
|
|
"returnType": "Option<String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "row",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"token"
|
|
],
|
|
"returnType": "Option<Row>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "emit_edit",
|
|
"owner": "",
|
|
"params": [
|
|
"emit",
|
|
"r",
|
|
"v"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choice_value",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"value"
|
|
],
|
|
"returnType": "Option<SettingValue>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"emit",
|
|
"token",
|
|
"text"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"emit"
|
|
],
|
|
"returnType": "Binding",
|
|
"exported": true,
|
|
"lineCount": 36
|
|
},
|
|
{
|
|
"name": "model",
|
|
"owner": "",
|
|
"params": [
|
|
"values"
|
|
],
|
|
"returnType": "ModelRc<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"binding",
|
|
"p"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 32
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "State",
|
|
"methods": [],
|
|
"properties": [
|
|
"generation",
|
|
"rows",
|
|
"drafts",
|
|
"model",
|
|
"context"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "Binding",
|
|
"methods": [
|
|
"acknowledge",
|
|
"clear_sensitive",
|
|
"draft"
|
|
],
|
|
"properties": [
|
|
"state"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "pages",
|
|
"specifiers": [
|
|
"build"
|
|
]
|
|
},
|
|
{
|
|
"source": "managers",
|
|
"specifiers": [
|
|
"key_action_id"
|
|
]
|
|
},
|
|
{
|
|
"source": "drafts",
|
|
"specifiers": [
|
|
"CommandDrafts"
|
|
]
|
|
},
|
|
{
|
|
"source": "help",
|
|
"specifiers": [
|
|
"prepare_help"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppWindow",
|
|
"SettingsBridge",
|
|
"SettingsRow"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle",
|
|
"Model",
|
|
"ModelRc",
|
|
"SharedString",
|
|
"VecModel"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::HashMap",
|
|
"rc::Rc",
|
|
"sync::Arc"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Binding",
|
|
"acknowledge",
|
|
"clear_sensitive",
|
|
"draft",
|
|
"bind",
|
|
"present"
|
|
],
|
|
"totalLines": 128,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/audio.rs": {
|
|
"filePath": "native/src/ui/settings/audio.rs",
|
|
"contentHash": "d8292424da5fa7465cf55fd6c84f891ec1d3d6fcd482ffbf6cafb12ed28eac0a",
|
|
"functions": [
|
|
{
|
|
"name": "device",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"kind"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "dsp",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"kind",
|
|
"field"
|
|
],
|
|
"returnType": "(String,Field,serde_json::Value)",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "dsp_toggle",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"kind",
|
|
"field",
|
|
"key",
|
|
"info"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dsp_number",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"kind",
|
|
"field",
|
|
"key",
|
|
"min",
|
|
"max"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dsp_choice",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"kind",
|
|
"field",
|
|
"key",
|
|
"options"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 49
|
|
},
|
|
{
|
|
"name": "migration",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "notifications",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 29
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"pages::Builder"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"prefs::DeviceKind"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"audio",
|
|
"notifications"
|
|
],
|
|
"totalLines": 120,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/drafts.rs": {
|
|
"filePath": "native/src/ui/settings/drafts.rs",
|
|
"contentHash": "39ccd0b1da9f40bcbb4437215f90580428d5b2e466efaabc9badd6cf66eb8a48",
|
|
"functions": [
|
|
{
|
|
"name": "edit",
|
|
"owner": "CommandDrafts",
|
|
"params": [
|
|
"field",
|
|
"value"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "target",
|
|
"owner": "CommandDrafts",
|
|
"params": [
|
|
"uid",
|
|
"current"
|
|
],
|
|
"returnType": "u8",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CommandDrafts",
|
|
"methods": [
|
|
"edit",
|
|
"target"
|
|
],
|
|
"properties": [
|
|
"identity_name",
|
|
"key_profile_name",
|
|
"whisper_name",
|
|
"security_targets"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"Field",
|
|
"SettingValue"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"CommandDrafts",
|
|
"edit",
|
|
"target"
|
|
],
|
|
"totalLines": 26,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/help.rs": {
|
|
"filePath": "native/src/ui/settings/help.rs",
|
|
"contentHash": "2e05cb322b843a307072e4f9604936d7a621592111ec9424002338a4a5d72967",
|
|
"functions": [
|
|
{
|
|
"name": "prepare_help",
|
|
"owner": "",
|
|
"params": [
|
|
"catalog"
|
|
],
|
|
"returnType": "std::sync::Arc<std::collections::HashMap<String,std::sync::Arc<crate::ui::chat::prepared::PreparedDocument>>>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "rich_row",
|
|
"owner": "Builder<'_>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"source"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "markdown_help",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"pages::Builder"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"prepare_help",
|
|
"markdown_help"
|
|
],
|
|
"totalLines": 35,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/managers.rs": {
|
|
"filePath": "native/src/ui/settings/managers.rs",
|
|
"contentHash": "b34e4285b9d659aa5eba2ab10c3526c1c0a5912b70fb6c1ffa6879f6d412ccab",
|
|
"functions": [
|
|
{
|
|
"name": "key_action_id",
|
|
"owner": "",
|
|
"params": [
|
|
"action"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "keys",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 52
|
|
},
|
|
{
|
|
"name": "whispers",
|
|
"owner": "Builder<'_>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 39
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super",
|
|
"specifiers": [
|
|
"pages::Builder"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"whisper::ReceiveMode"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"key_action_id",
|
|
"keys",
|
|
"whispers"
|
|
],
|
|
"totalLines": 115,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/pages.rs": {
|
|
"filePath": "native/src/ui/settings/pages.rs",
|
|
"contentHash": "50d5dfa94b1490bad0da7b75c9a56758f9ff23ec3bd4621ef3e0980d0705a5fd",
|
|
"functions": [
|
|
{
|
|
"name": "text",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "heading",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "row",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"subtitle",
|
|
"control",
|
|
"intent"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "note",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "action",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"op"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nav",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"key",
|
|
"page"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "toggle",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"info",
|
|
"value",
|
|
"field"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choice",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"current",
|
|
"options",
|
|
"field"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "select",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"current",
|
|
"options"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"value",
|
|
"min",
|
|
"max",
|
|
"step",
|
|
"field"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "input",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"value",
|
|
"field"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pref_toggle",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"p",
|
|
"key",
|
|
"info"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pref_choice",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"p",
|
|
"key",
|
|
"options"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unavailable",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"id",
|
|
"key",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "capability",
|
|
"owner": "Builder<'a>",
|
|
"params": [
|
|
"cap"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "identities",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 28
|
|
},
|
|
{
|
|
"name": "privacy",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "appearance",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "themes",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "video",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "files",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "os",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "about",
|
|
"owner": "Builder<'a>",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "",
|
|
"params": [
|
|
"s",
|
|
"v",
|
|
"c"
|
|
],
|
|
"returnType": "Presentation",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Builder",
|
|
"methods": [],
|
|
"properties": [
|
|
"s",
|
|
"v",
|
|
"c",
|
|
"rows"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "super::types",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::i18n",
|
|
"specifiers": [
|
|
"Catalog"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Builder",
|
|
"text",
|
|
"heading",
|
|
"row",
|
|
"note",
|
|
"action",
|
|
"nav",
|
|
"toggle",
|
|
"choice",
|
|
"select",
|
|
"number",
|
|
"input",
|
|
"pref_toggle",
|
|
"pref_choice",
|
|
"unavailable",
|
|
"capability",
|
|
"identities",
|
|
"privacy",
|
|
"appearance",
|
|
"video",
|
|
"chats",
|
|
"files",
|
|
"os",
|
|
"about",
|
|
"build"
|
|
],
|
|
"totalLines": 174,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/tests.rs": {
|
|
"filePath": "native/src/ui/settings/tests.rs",
|
|
"contentHash": "56d94558ab53b02e0279a74b1d865501766c788bd113bf92d856dc5e4502b04b",
|
|
"functions": [
|
|
{
|
|
"name": "loaded",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "SettingsSnapshot",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "presentation",
|
|
"owner": "",
|
|
"params": [
|
|
"category",
|
|
"s"
|
|
],
|
|
"returnType": "Presentation",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "navigation_back_never_emits_service_mutation",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "every_advanced_notification_retains_its_exact_preference_key",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "imported_device_mapping_never_becomes_a_generic_preference_edit",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "download_destination_is_only_a_chooser_intent",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "stale_presentation_token_cannot_resolve_new_target",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "unsupported_os_action_has_reported_reason_not_fake_success",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::ui::i18n",
|
|
"specifiers": [
|
|
"Catalog",
|
|
"Language"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 59,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/settings/types.rs": {
|
|
"filePath": "native/src/ui/settings/types.rs",
|
|
"contentHash": "19369ffbb4f010fcb3d69e6badd81af445b714009fbefbe152205f0084e464f0",
|
|
"functions": [
|
|
{
|
|
"name": "key",
|
|
"owner": "Category",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "page",
|
|
"owner": "ViewState",
|
|
"params": [],
|
|
"returnType": "Page",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "navigate",
|
|
"owner": "ViewState",
|
|
"params": [
|
|
"navigation"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "json",
|
|
"owner": "SettingValue",
|
|
"params": [],
|
|
"returnType": "Value",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "SettingValue",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "key",
|
|
"owner": "DspField",
|
|
"params": [],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Category",
|
|
"methods": [
|
|
"key"
|
|
],
|
|
"properties": [
|
|
"Identities",
|
|
"Privacy",
|
|
"Appearance",
|
|
"Audio",
|
|
"Video",
|
|
"KeyBindings",
|
|
"Chats",
|
|
"Whispers",
|
|
"Notifications",
|
|
"FileTransfer",
|
|
"OsSpecific",
|
|
"About"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"methods": [],
|
|
"properties": [
|
|
"Root",
|
|
"TrustedHosts",
|
|
"PrivacyDetails",
|
|
"Themes",
|
|
"AudioProfiles",
|
|
"DeviceMigration",
|
|
"VideoDetails",
|
|
"MarkdownHelp",
|
|
"Changelog",
|
|
"Licenses",
|
|
"License",
|
|
"Diagnostics"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ViewState",
|
|
"methods": [
|
|
"default",
|
|
"page",
|
|
"navigate"
|
|
],
|
|
"properties": [
|
|
"category",
|
|
"pages",
|
|
"panel_open",
|
|
"identity",
|
|
"key_profile",
|
|
"whisper_list",
|
|
"input_profile",
|
|
"output_profile",
|
|
"preview_theme",
|
|
"whisper_preview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "Navigation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Category",
|
|
"Page",
|
|
"Back",
|
|
"Identity",
|
|
"KeyProfile",
|
|
"WhisperList",
|
|
"DspProfile",
|
|
"WhisperPreview"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SettingValue",
|
|
"methods": [
|
|
"json",
|
|
"text"
|
|
],
|
|
"properties": [
|
|
"Bool",
|
|
"Number",
|
|
"Text"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DspField",
|
|
"methods": [
|
|
"key"
|
|
],
|
|
"properties": [
|
|
"Agc",
|
|
"Denoise",
|
|
"DenoiseLevel",
|
|
"Typing",
|
|
"Vad",
|
|
"VadMode",
|
|
"VadLevel",
|
|
"VadSensitivity",
|
|
"Aec",
|
|
"ComfortNoise",
|
|
"ComfortNoiseLevel",
|
|
"EchoReduction"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DspTarget",
|
|
"methods": [],
|
|
"properties": [
|
|
"Template",
|
|
"Device"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FileField",
|
|
"methods": [],
|
|
"properties": [
|
|
"AlwaysAsk",
|
|
"LimitUpload",
|
|
"LimitDownload",
|
|
"UploadMiB",
|
|
"DownloadMiB",
|
|
"UploadSlots",
|
|
"DownloadSlots"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperField",
|
|
"methods": [],
|
|
"properties": [
|
|
"Name",
|
|
"Kind",
|
|
"GroupType",
|
|
"GroupTargetMode",
|
|
"ServerUid",
|
|
"GroupId"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Field",
|
|
"methods": [],
|
|
"properties": [
|
|
"Preference",
|
|
"Device",
|
|
"PttReleaseDelay",
|
|
"Dsp",
|
|
"IdentityName",
|
|
"IdentityNickname",
|
|
"IdentityTarget",
|
|
"NewIdentityName",
|
|
"KeyExact",
|
|
"KeyProfileName",
|
|
"NewKeyProfileName",
|
|
"KeyBindingAction",
|
|
"KeyBindingTarget",
|
|
"KeyBindingGlobal",
|
|
"WhisperReceive",
|
|
"Whisper",
|
|
"NewWhisperName",
|
|
"NotificationState",
|
|
"NotificationGroup",
|
|
"NotificationAdvanced",
|
|
"File",
|
|
"Autostart"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "AudioTest",
|
|
"methods": [],
|
|
"properties": [
|
|
"Record",
|
|
"Stop",
|
|
"Play",
|
|
"Clear"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "UpdateAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Check",
|
|
"Download",
|
|
"Install",
|
|
"Cancel",
|
|
"OpenRelease"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Operation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Navigate",
|
|
"Reload",
|
|
"IdentityCreate",
|
|
"IdentityDefault",
|
|
"IdentityDelete",
|
|
"IdentityImport",
|
|
"IdentityExport",
|
|
"IdentityCopyUid",
|
|
"IdentityImprove",
|
|
"IdentityCancelImprove",
|
|
"RemoveTrustedHost",
|
|
"ClearTrustedHosts",
|
|
"ResetConfirmations",
|
|
"ThemeSelect",
|
|
"ThemePreview",
|
|
"ThemeReload",
|
|
"ThemeInstall",
|
|
"ThemeOpenDirectory",
|
|
"ThemeLink",
|
|
"SelectDevice",
|
|
"MapDevice",
|
|
"NewDevice",
|
|
"CopyDspToTemplate",
|
|
"ApplyDspTemplate",
|
|
"AudioTest",
|
|
"CapturePtt",
|
|
"KeyProfileCreate",
|
|
"KeyProfileActivate",
|
|
"KeyProfileDelete",
|
|
"KeyCapture",
|
|
"KeyCaptureDone",
|
|
"KeyCaptureCancel",
|
|
"KeyRemove",
|
|
"WhisperCreate",
|
|
"WhisperDelete",
|
|
"WhisperRemoveEntry",
|
|
"WhisperAddEntry",
|
|
"WhisperPickServer",
|
|
"WhisperPickGroup",
|
|
"WhisperOverlay",
|
|
"RemoveIgnoredUser",
|
|
"PreviewNotification",
|
|
"ChooseDownloadDirectory",
|
|
"CopyDownloadDirectory",
|
|
"ChooseRecordingDirectory",
|
|
"CopyText",
|
|
"PreviewMarkup",
|
|
"Update",
|
|
"OpenLogs",
|
|
"OpenProject",
|
|
"OpenIssues",
|
|
"Relaunch"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "SettingsAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Edit",
|
|
"Invoke",
|
|
"SaveSecret",
|
|
"CaptureFocusLost"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "IdentityView",
|
|
"methods": [],
|
|
"properties": [
|
|
"uid",
|
|
"name",
|
|
"nickname",
|
|
"security_level",
|
|
"is_default",
|
|
"bookmarks",
|
|
"progress",
|
|
"improving"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "DeviceView",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name",
|
|
"available"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "MigrationDevice",
|
|
"methods": [],
|
|
"properties": [
|
|
"kind",
|
|
"legacy"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AudioView",
|
|
"methods": [],
|
|
"properties": [
|
|
"inputs",
|
|
"outputs",
|
|
"migration",
|
|
"status",
|
|
"test_status",
|
|
"recording",
|
|
"playing",
|
|
"has_sample",
|
|
"input_level"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "VideoView",
|
|
"methods": [],
|
|
"properties": [
|
|
"policy",
|
|
"backend",
|
|
"reception",
|
|
"codecs",
|
|
"restart_required"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ThemeView",
|
|
"methods": [],
|
|
"properties": [
|
|
"selection",
|
|
"identifier",
|
|
"name",
|
|
"description",
|
|
"warnings",
|
|
"links"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "GroupView",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "WhisperServer",
|
|
"methods": [],
|
|
"properties": [
|
|
"key",
|
|
"uid",
|
|
"name",
|
|
"server_groups",
|
|
"channel_groups"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "CaptureView",
|
|
"methods": [],
|
|
"properties": [
|
|
"active",
|
|
"chord",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Capability",
|
|
"methods": [],
|
|
"properties": [
|
|
"supported",
|
|
"enabled",
|
|
"reason"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "OsView",
|
|
"methods": [],
|
|
"properties": [
|
|
"autostart",
|
|
"taskbar",
|
|
"flash",
|
|
"lock_mute",
|
|
"global_hotkeys"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "AboutView",
|
|
"methods": [],
|
|
"properties": [
|
|
"version",
|
|
"build",
|
|
"update_status",
|
|
"update_actions",
|
|
"changelog",
|
|
"licenses",
|
|
"license_text",
|
|
"diagnostics"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "SettingsSnapshot",
|
|
"methods": [],
|
|
"properties": [
|
|
"loaded",
|
|
"prefs",
|
|
"identities",
|
|
"audio",
|
|
"video",
|
|
"keybinds",
|
|
"key_read_only",
|
|
"key_conflicts",
|
|
"key_status",
|
|
"capture",
|
|
"whispers",
|
|
"servers",
|
|
"input_session",
|
|
"pending_whisper",
|
|
"whisper_targets",
|
|
"files",
|
|
"download_location",
|
|
"recording_location",
|
|
"themes",
|
|
"theme_warnings",
|
|
"theme_preview",
|
|
"os",
|
|
"about",
|
|
"status",
|
|
"error",
|
|
"pending",
|
|
"row_errors",
|
|
"rich_documents"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "Intent",
|
|
"methods": [],
|
|
"properties": [
|
|
"None",
|
|
"Edit",
|
|
"Invoke",
|
|
"Select",
|
|
"Secret"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Control",
|
|
"methods": [],
|
|
"properties": [
|
|
"Heading",
|
|
"Note",
|
|
"Toggle",
|
|
"Choice",
|
|
"Text",
|
|
"Number",
|
|
"Action",
|
|
"Meter",
|
|
"Secret",
|
|
"Rich"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Row",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"title",
|
|
"subtitle",
|
|
"control",
|
|
"intent",
|
|
"enabled",
|
|
"destructive",
|
|
"inset",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Presentation",
|
|
"methods": [],
|
|
"properties": [
|
|
"category",
|
|
"title",
|
|
"categories",
|
|
"category_groups",
|
|
"rows",
|
|
"panel_open",
|
|
"subpage",
|
|
"show_slint",
|
|
"status",
|
|
"error",
|
|
"back",
|
|
"apply",
|
|
"cancel",
|
|
"loading",
|
|
"capturing",
|
|
"decrease_template",
|
|
"increase_template"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate::services",
|
|
"specifiers": [
|
|
"file_settings::FileSettingsValue",
|
|
"prefs::DeviceKind"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap",
|
|
"HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Category",
|
|
"key",
|
|
"Page",
|
|
"ViewState",
|
|
"page",
|
|
"navigate",
|
|
"Navigation",
|
|
"SettingValue",
|
|
"json",
|
|
"text",
|
|
"DspField",
|
|
"key",
|
|
"DspTarget",
|
|
"FileField",
|
|
"WhisperField",
|
|
"Field",
|
|
"AudioTest",
|
|
"UpdateAction",
|
|
"Operation",
|
|
"SettingsAction",
|
|
"IdentityView",
|
|
"DeviceView",
|
|
"MigrationDevice",
|
|
"AudioView",
|
|
"VideoView",
|
|
"ThemeView",
|
|
"GroupView",
|
|
"WhisperServer",
|
|
"CaptureView",
|
|
"Capability",
|
|
"OsView",
|
|
"AboutView",
|
|
"SettingsSnapshot",
|
|
"Intent",
|
|
"Control",
|
|
"Row",
|
|
"Presentation"
|
|
],
|
|
"totalLines": 156,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/shell.rs": {
|
|
"filePath": "native/src/ui/shell.rs",
|
|
"contentHash": "7707b9a41b8d0b1db8fe5e3d0759ff47bc289f1d65084094feace4631aac8357",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"form"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "merge",
|
|
"owner": "Editor",
|
|
"params": [
|
|
"form"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "strings",
|
|
"owner": "",
|
|
"params": [
|
|
"values"
|
|
],
|
|
"returnType": "ModelRc<SharedString>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "model",
|
|
"owner": "",
|
|
"params": [
|
|
"values"
|
|
],
|
|
"returnType": "ModelRc<T>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "command",
|
|
"owner": "",
|
|
"params": [
|
|
"action",
|
|
"id"
|
|
],
|
|
"returnType": "ShellCommand",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "commands",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"scope",
|
|
"actions"
|
|
],
|
|
"returnType": "ModelRc<ShellCommand>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"scope",
|
|
"entries"
|
|
],
|
|
"returnType": "Vec<ShellRow>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "reconcile",
|
|
"owner": "",
|
|
"params": [
|
|
"target",
|
|
"values"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "projected_field",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"raw"
|
|
],
|
|
"returnType": "ShellField",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "project_editor",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "release_hold",
|
|
"owner": "",
|
|
"params": [
|
|
"state",
|
|
"emit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bind",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"emit"
|
|
],
|
|
"returnType": "ShellBinding",
|
|
"exported": true,
|
|
"lineCount": 61
|
|
},
|
|
{
|
|
"name": "back",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state",
|
|
"emit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "destination_index",
|
|
"owner": "",
|
|
"params": [
|
|
"d"
|
|
],
|
|
"returnType": "i32",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "submit",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state",
|
|
"emit"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "navigate",
|
|
"owner": "ShellBinding",
|
|
"params": [
|
|
"ui",
|
|
"destination"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stream_effect",
|
|
"owner": "ShellBinding",
|
|
"params": [
|
|
"ui",
|
|
"target",
|
|
"popout",
|
|
"close"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update_frames",
|
|
"owner": "ShellBinding",
|
|
"params": [
|
|
"ui",
|
|
"frames"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "present",
|
|
"owner": "ShellBinding",
|
|
"params": [
|
|
"ui",
|
|
"p"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 35
|
|
},
|
|
{
|
|
"name": "complete",
|
|
"owner": "ShellBinding",
|
|
"params": [
|
|
"ui",
|
|
"id",
|
|
"target",
|
|
"result"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "release_holds",
|
|
"owner": "ShellBinding",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "open_popout",
|
|
"owner": "",
|
|
"params": [
|
|
"ui",
|
|
"state",
|
|
"stream"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Editor",
|
|
"methods": [
|
|
"new",
|
|
"merge"
|
|
],
|
|
"properties": [
|
|
"form",
|
|
"raw",
|
|
"dirty",
|
|
"confirmation"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "State",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"presentation",
|
|
"targets",
|
|
"actions",
|
|
"contexts",
|
|
"editor",
|
|
"stack",
|
|
"destination",
|
|
"fields",
|
|
"tree",
|
|
"bookmarks",
|
|
"contacts",
|
|
"entries",
|
|
"held_target",
|
|
"menu_target",
|
|
"press_epoch",
|
|
"pressed_row",
|
|
"suppress_click",
|
|
"popouts"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "ShellBinding",
|
|
"methods": [
|
|
"navigate",
|
|
"stream_effect",
|
|
"update_frames",
|
|
"present",
|
|
"complete",
|
|
"release_holds",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"state",
|
|
"emit"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"AppWindow",
|
|
"ShellBridge",
|
|
"DialogBridge",
|
|
"ShellRow",
|
|
"ShellTab",
|
|
"ShellCommand",
|
|
"ShellInfo",
|
|
"ShellStream",
|
|
"ShellField"
|
|
]
|
|
},
|
|
{
|
|
"source": "slint",
|
|
"specifiers": [
|
|
"ComponentHandle",
|
|
"Model",
|
|
"ModelRc",
|
|
"SharedString",
|
|
"VecModel"
|
|
]
|
|
},
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"cell::RefCell",
|
|
"collections::BTreeMap",
|
|
"rc::Rc",
|
|
"sync::Arc"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"ShellBinding",
|
|
"bind",
|
|
"navigate",
|
|
"stream_effect",
|
|
"update_frames",
|
|
"present",
|
|
"complete",
|
|
"release_holds"
|
|
],
|
|
"totalLines": 251,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/shell/forms.rs": {
|
|
"filePath": "native/src/ui/shell/forms.rs",
|
|
"contentHash": "c9cda1708c3170a4bf7a4b1b7c596746b773c3daad7ffffcfedecc48b2f5a873",
|
|
"functions": [
|
|
{
|
|
"name": "label_key",
|
|
"owner": "",
|
|
"params": [
|
|
"operation"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": true,
|
|
"lineCount": 153
|
|
},
|
|
{
|
|
"name": "destructive",
|
|
"owner": "",
|
|
"params": [
|
|
"op"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "field",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"kind",
|
|
"value"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"max",
|
|
"required"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "secret",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"required"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "number",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"min",
|
|
"max",
|
|
"value"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "toggle",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"value"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "choice",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key",
|
|
"options"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "target_choice",
|
|
"owner": "",
|
|
"params": [
|
|
"c",
|
|
"id",
|
|
"key"
|
|
],
|
|
"returnType": "Field",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "form",
|
|
"owner": "",
|
|
"params": [
|
|
"id",
|
|
"operation",
|
|
"target",
|
|
"c"
|
|
],
|
|
"returnType": "Option<Form>",
|
|
"exported": true,
|
|
"lineCount": 78
|
|
},
|
|
{
|
|
"name": "parse_value",
|
|
"owner": "",
|
|
"params": [
|
|
"field",
|
|
"raw",
|
|
"c"
|
|
],
|
|
"returnType": "Result<FieldValue,String>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "value_text",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "super::types",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::i18n",
|
|
"specifiers": [
|
|
"Catalog"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"label_key",
|
|
"destructive",
|
|
"form",
|
|
"parse_value",
|
|
"value_text"
|
|
],
|
|
"totalLines": 289,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/shell/types.rs": {
|
|
"filePath": "native/src/ui/shell/types.rs",
|
|
"contentHash": "4d6f438654e2fb55dab346eca5c74f2a2f76118bc316787344b0fa4aa44e09fc",
|
|
"functions": [
|
|
{
|
|
"name": "application",
|
|
"owner": "Target",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "new",
|
|
"owner": "Action",
|
|
"params": [
|
|
"id",
|
|
"operation",
|
|
"target",
|
|
"catalog"
|
|
],
|
|
"returnType": "Self",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "default",
|
|
"owner": null,
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Destination",
|
|
"methods": [],
|
|
"properties": [
|
|
"Servers",
|
|
"Chats",
|
|
"Contacts",
|
|
"Settings"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Entity",
|
|
"methods": [],
|
|
"properties": [
|
|
"Application",
|
|
"Profile",
|
|
"LegacyProfile",
|
|
"Connection",
|
|
"Server",
|
|
"Channel",
|
|
"Client",
|
|
"ServerGroup",
|
|
"ChannelGroup",
|
|
"Permission",
|
|
"Ban",
|
|
"PrivilegeKey",
|
|
"TemporaryPassword",
|
|
"Bookmark",
|
|
"BookmarkFolder",
|
|
"Contact",
|
|
"File",
|
|
"Transfer",
|
|
"Stream",
|
|
"StreamViewer",
|
|
"CaptureSource",
|
|
"RecordingTrack",
|
|
"Icon",
|
|
"DatabaseClient",
|
|
"Snapshot"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "Target",
|
|
"methods": [
|
|
"application"
|
|
],
|
|
"properties": [
|
|
"session",
|
|
"entity",
|
|
"name",
|
|
"own_channel_id"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Operation",
|
|
"methods": [],
|
|
"properties": [
|
|
"Connect",
|
|
"Disconnect",
|
|
"CloseConnection",
|
|
"NewConnection",
|
|
"UseMicrophone",
|
|
"ToggleMicrophone",
|
|
"ToggleDeafen",
|
|
"SetAway",
|
|
"SetNickname",
|
|
"RestartCore",
|
|
"OpenLogs",
|
|
"CreateProfile",
|
|
"ChooseLegacyProfile",
|
|
"ImportLegacyProfile",
|
|
"ImportIdentity",
|
|
"ExportIdentity",
|
|
"JoinChannel",
|
|
"ChannelInfo",
|
|
"ChannelCreate",
|
|
"ChannelCreateChild",
|
|
"ChannelEdit",
|
|
"ChannelMove",
|
|
"ChannelDelete",
|
|
"ChannelSubscribe",
|
|
"ChannelUnsubscribe",
|
|
"SubscribeAll",
|
|
"UnsubscribeAll",
|
|
"ChannelWhisperAdd",
|
|
"ClientWhisperAdd",
|
|
"WhisperHistory",
|
|
"ServerInfo",
|
|
"ServerEdit",
|
|
"ServerChat",
|
|
"ServerPermissions",
|
|
"ServerBans",
|
|
"ServerKeys",
|
|
"ServerPasswords",
|
|
"ServerIcons",
|
|
"ServerClients",
|
|
"ServerLog",
|
|
"ServerGroupCreate",
|
|
"ChannelGroupCreate",
|
|
"GroupRename",
|
|
"GroupDelete",
|
|
"GroupPermissions",
|
|
"PermissionSet",
|
|
"PermissionRemove",
|
|
"ClientChannelPermissionSet",
|
|
"ClientChannelPermissionRemove",
|
|
"ClientInfo",
|
|
"ClientConnectionInfo",
|
|
"ClientPrivateChat",
|
|
"ClientPoke",
|
|
"ClientVolume",
|
|
"ClientMove",
|
|
"ClientKickChannel",
|
|
"ClientKickServer",
|
|
"ClientBan",
|
|
"ClientCommander",
|
|
"ClientServerGroupAdd",
|
|
"ClientServerGroupRemove",
|
|
"ClientChannelGroupSet",
|
|
"ClientPermissions",
|
|
"ClientAvatarChoose",
|
|
"ClientAvatarDelete",
|
|
"ClientDatabaseDelete",
|
|
"TalkRequest",
|
|
"TalkWithdraw",
|
|
"TalkGrant",
|
|
"TalkRevoke",
|
|
"TalkQueue",
|
|
"BanCreate",
|
|
"BanDelete",
|
|
"KeyCreate",
|
|
"KeyDelete",
|
|
"KeyUse",
|
|
"PasswordCreate",
|
|
"PasswordDelete",
|
|
"FileBrowse",
|
|
"FileRefresh",
|
|
"FileUpload",
|
|
"FileDownload",
|
|
"FileFolderCreate",
|
|
"FileRename",
|
|
"FileMove",
|
|
"FileDelete",
|
|
"FileCopyLink",
|
|
"TransferList",
|
|
"TransferPause",
|
|
"TransferResume",
|
|
"TransferCancel",
|
|
"TransferClear",
|
|
"TransferOpen",
|
|
"TransferReveal",
|
|
"RecordingOpen",
|
|
"RecordingStart",
|
|
"RecordingStop",
|
|
"RecordingPause",
|
|
"RecordingResume",
|
|
"RecordingChooseFolder",
|
|
"RecordingReveal",
|
|
"BookmarkCreate",
|
|
"BookmarkEdit",
|
|
"BookmarkDuplicate",
|
|
"BookmarkRename",
|
|
"BookmarkDelete",
|
|
"BookmarkMove",
|
|
"BookmarkConnect",
|
|
"BookmarkSaveCurrent",
|
|
"BookmarkFolderCreate",
|
|
"BookmarkFolderRename",
|
|
"BookmarkFolderDelete",
|
|
"BookmarkFolderOpen",
|
|
"BookmarkFolderUp",
|
|
"BookmarkPasswordSet",
|
|
"BookmarkPasswordReveal",
|
|
"BookmarkPasswordClear",
|
|
"ContactAdd",
|
|
"ContactRemove",
|
|
"ContactRename",
|
|
"ContactIgnore",
|
|
"ContactUnignore",
|
|
"ContactChat",
|
|
"IconUpload",
|
|
"IconDownload",
|
|
"IconDelete",
|
|
"IconSelect",
|
|
"SnapshotExport",
|
|
"SnapshotChoose",
|
|
"SnapshotApply",
|
|
"SnapshotCancel",
|
|
"StreamJoin",
|
|
"StreamStopViewing",
|
|
"StreamRejoin",
|
|
"StreamFullscreen",
|
|
"StreamPopout",
|
|
"StreamVolume",
|
|
"StreamStats",
|
|
"CaptureChoose",
|
|
"CapturePreview",
|
|
"CaptureStart",
|
|
"CaptureStop",
|
|
"StreamAdmit",
|
|
"StreamReject",
|
|
"StreamRemoveViewer",
|
|
"ConfirmPassword",
|
|
"ConfirmExternalLink",
|
|
"ConfirmOverwrite",
|
|
"ConfirmIdentityExport"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "FieldValue",
|
|
"methods": [],
|
|
"properties": [
|
|
"Text",
|
|
"Integer",
|
|
"Decimal",
|
|
"Bool",
|
|
"Choice"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ShellAction",
|
|
"methods": [],
|
|
"properties": [
|
|
"Navigate",
|
|
"Back",
|
|
"Select",
|
|
"Expand",
|
|
"Context",
|
|
"Invoke",
|
|
"Submit",
|
|
"Cancel",
|
|
"Search",
|
|
"Page",
|
|
"PushToTalk",
|
|
"PaneWidths"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "OptionValue",
|
|
"methods": [],
|
|
"properties": [
|
|
"value",
|
|
"label"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "FieldKind",
|
|
"methods": [],
|
|
"properties": [
|
|
"Text",
|
|
"Secret",
|
|
"Multiline",
|
|
"Integer",
|
|
"Decimal",
|
|
"Toggle",
|
|
"Choice"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Field",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"section",
|
|
"hint",
|
|
"kind",
|
|
"value",
|
|
"required",
|
|
"max_length",
|
|
"enabled",
|
|
"advanced",
|
|
"error"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Form",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"target",
|
|
"operation",
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"confirmation",
|
|
"submit_label",
|
|
"destructive",
|
|
"busy",
|
|
"error",
|
|
"actions",
|
|
"acknowledged_revision"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "Action",
|
|
"methods": [
|
|
"new"
|
|
],
|
|
"properties": [
|
|
"id",
|
|
"label",
|
|
"target",
|
|
"operation",
|
|
"enabled",
|
|
"reason",
|
|
"destructive",
|
|
"form"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Entry",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"target",
|
|
"title",
|
|
"subtitle",
|
|
"depth",
|
|
"selected",
|
|
"expanded",
|
|
"expandable",
|
|
"talking",
|
|
"muted",
|
|
"unread",
|
|
"actions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Tab",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"title",
|
|
"selected",
|
|
"microphone_owner",
|
|
"unread",
|
|
"connected",
|
|
"actions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "InfoRow",
|
|
"methods": [],
|
|
"properties": [
|
|
"label",
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Detail",
|
|
"methods": [],
|
|
"properties": [
|
|
"title",
|
|
"subtitle",
|
|
"description",
|
|
"rows",
|
|
"entries",
|
|
"actions",
|
|
"loading",
|
|
"error",
|
|
"search_target",
|
|
"search",
|
|
"page_offset",
|
|
"page_size",
|
|
"has_more"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Stream",
|
|
"methods": [],
|
|
"properties": [
|
|
"id",
|
|
"target",
|
|
"title",
|
|
"status",
|
|
"frame",
|
|
"has_frame",
|
|
"volume",
|
|
"actions"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "Voice",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"title",
|
|
"muted",
|
|
"deafened",
|
|
"transmitting",
|
|
"ptt_enabled",
|
|
"status"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "ShellPresentation",
|
|
"methods": [
|
|
"default"
|
|
],
|
|
"properties": [
|
|
"catalog",
|
|
"tabs",
|
|
"tree",
|
|
"bookmarks",
|
|
"contacts",
|
|
"detail",
|
|
"actions",
|
|
"streams",
|
|
"voice",
|
|
"profile_form",
|
|
"dialog",
|
|
"status",
|
|
"error",
|
|
"loading"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "crate::app::connections",
|
|
"specifiers": [
|
|
"SessionKey"
|
|
]
|
|
},
|
|
{
|
|
"source": "super::super::i18n",
|
|
"specifiers": [
|
|
"Catalog"
|
|
]
|
|
},
|
|
{
|
|
"source": "std::collections",
|
|
"specifiers": [
|
|
"BTreeMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Destination",
|
|
"Entity",
|
|
"Target",
|
|
"application",
|
|
"Operation",
|
|
"FieldValue",
|
|
"ShellAction",
|
|
"OptionValue",
|
|
"FieldKind",
|
|
"Field",
|
|
"Form",
|
|
"Action",
|
|
"new",
|
|
"Entry",
|
|
"Tab",
|
|
"InfoRow",
|
|
"Detail",
|
|
"Stream",
|
|
"Voice",
|
|
"ShellPresentation"
|
|
],
|
|
"totalLines": 130,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/src/ui/theme.rs": {
|
|
"filePath": "native/src/ui/theme.rs",
|
|
"contentHash": "705f59791580ee44243eb18dae5a7860d219f5f414bf38824c8c997d64aefc11",
|
|
"functions": [
|
|
{
|
|
"name": "synchronize",
|
|
"owner": "Fonts",
|
|
"params": [
|
|
"snapshot"
|
|
],
|
|
"returnType": "Result<()>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "Fonts",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "matrix",
|
|
"owner": "",
|
|
"params": [
|
|
"matrix",
|
|
"v"
|
|
],
|
|
"returnType": "[f64;3]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "linear",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "encoded",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "f64",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "d50_to_d65",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "[f64;3]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "xyz_to_linear",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "[f64;3]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "lab_to_linear",
|
|
"owner": "",
|
|
"params": [
|
|
"l",
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "[f64;3]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "oklab_to_linear",
|
|
"owner": "",
|
|
"params": [
|
|
"l",
|
|
"a",
|
|
"b"
|
|
],
|
|
"returnType": "[f64;3]",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "color",
|
|
"owner": "",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "Option<slint::Color>",
|
|
"exported": true,
|
|
"lineCount": 24
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Fonts",
|
|
"methods": [
|
|
"synchronize",
|
|
"clear",
|
|
"drop"
|
|
],
|
|
"properties": [
|
|
"revision",
|
|
"registered"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "slint::fontique_011::fontique",
|
|
"specifiers": [
|
|
"self",
|
|
"FamilyId",
|
|
"FontInfo"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"app::runtime::model::Snapshot"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Fonts",
|
|
"synchronize",
|
|
"color"
|
|
],
|
|
"totalLines": 53,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/tests/audio_binding.rs": {
|
|
"filePath": "native/tests/audio_binding.rs",
|
|
"contentHash": "9c75f4a1d879c0abd828f1adef3e54b4b91d35b231f2ac3c7a1713e05ee1f49a",
|
|
"functions": [
|
|
{
|
|
"name": "authoritative_input_reset_does_not_revoke_its_own_pending_command",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "weak_audio_binding_does_not_keep_connection_manager_alive",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 11
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_native",
|
|
"specifiers": [
|
|
"media::audio::engine::AudioEngine"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core::protocol",
|
|
"specifiers": [
|
|
"Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_denoise",
|
|
"specifiers": [
|
|
"CaptureSettings"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 37,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/tests/connections.rs": {
|
|
"filePath": "native/tests/connections.rs",
|
|
"contentHash": "e1abdac101ad267b9b182fa5d671f47149e73fc028e22b05dda8c8fcbb2a8237",
|
|
"functions": [
|
|
{
|
|
"name": "new",
|
|
"owner": "Profile",
|
|
"params": [],
|
|
"returnType": "Self",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "manager",
|
|
"owner": "",
|
|
"params": [
|
|
"profile"
|
|
],
|
|
"returnType": "(ConnectionManager, Arc<Mutex<Observed>>)",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "two_offline_cores_share_identity_and_drain_events_without_ui_reads",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 39
|
|
},
|
|
{
|
|
"name": "restart_invalidates_keys_and_keeps_other_identity_live",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "tab_order_slot_reuse_and_last_tab_are_not_lexical",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "offline_input_waits_for_real_validation_and_never_grants_capture",
|
|
"owner": "",
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Profile",
|
|
"methods": [
|
|
"new",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Observed",
|
|
"methods": [],
|
|
"properties": [
|
|
"profiles",
|
|
"failures",
|
|
"callback_threads"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"path::PathBuf",
|
|
"time::Duration"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_core",
|
|
"specifiers": [
|
|
"audio::CapturedFrame",
|
|
"vad::GateMode"
|
|
]
|
|
},
|
|
{
|
|
"source": "teamspeach_native::app::connections",
|
|
"specifiers": [
|
|
"ConnectionError",
|
|
"ConnectionEvent",
|
|
"ConnectionManager",
|
|
"InputConfiguration",
|
|
"SessionKey"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 146,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/tools/codec_probe.cpp": {
|
|
"filePath": "native/tools/codec_probe.cpp",
|
|
"contentHash": "d2ca24b1d2d6da4117530189b75b97582e37dfdc791b8d990b53af58624e606a",
|
|
"functions": [
|
|
{
|
|
"name": "Output",
|
|
"owner": "Output",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Decoded",
|
|
"owner": "Output",
|
|
"params": [
|
|
"frame"
|
|
],
|
|
"returnType": "int32_t",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "little32",
|
|
"owner": "",
|
|
"params": [
|
|
"p"
|
|
],
|
|
"returnType": "uint32_t",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [
|
|
"argc",
|
|
"argv"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 46
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Output",
|
|
"methods": [
|
|
"Output",
|
|
"Decoded"
|
|
],
|
|
"properties": [
|
|
"file",
|
|
"mutex",
|
|
"ready",
|
|
"width"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 21
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "livekit/video_decoder_factory.h",
|
|
"specifiers": [
|
|
"livekit/video_decoder_factory.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "api/environment/environment_factory.h",
|
|
"specifiers": [
|
|
"api/environment/environment_factory.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "api/video/encoded_image.h",
|
|
"specifiers": [
|
|
"api/video/encoded_image.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "api/video/i420_buffer.h",
|
|
"specifiers": [
|
|
"api/video/i420_buffer.h"
|
|
]
|
|
},
|
|
{
|
|
"source": "array",
|
|
"specifiers": [
|
|
"array"
|
|
]
|
|
},
|
|
{
|
|
"source": "chrono",
|
|
"specifiers": [
|
|
"chrono"
|
|
]
|
|
},
|
|
{
|
|
"source": "condition_variable",
|
|
"specifiers": [
|
|
"condition_variable"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdint",
|
|
"specifiers": [
|
|
"cstdint"
|
|
]
|
|
},
|
|
{
|
|
"source": "fstream",
|
|
"specifiers": [
|
|
"fstream"
|
|
]
|
|
},
|
|
{
|
|
"source": "iostream",
|
|
"specifiers": [
|
|
"iostream"
|
|
]
|
|
},
|
|
{
|
|
"source": "mutex",
|
|
"specifiers": [
|
|
"mutex"
|
|
]
|
|
},
|
|
{
|
|
"source": "string",
|
|
"specifiers": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Output",
|
|
"Decoded",
|
|
"Output",
|
|
"main"
|
|
],
|
|
"totalLines": 85,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"native/ui/about.slint": {
|
|
"filePath": "native/ui/about.slint",
|
|
"contentHash": "801d7ef1834c5dd28f3c60e7084e6a6ff1383f0911327e022c2d3698a040373d",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 27,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/app.slint": {
|
|
"filePath": "native/ui/app.slint",
|
|
"contentHash": "02d6f2ff869ab2f5589ceaa123f79f60903a148ddf16bb403ac498e8247dedcc",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 44,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/chat.slint": {
|
|
"filePath": "native/ui/chat.slint",
|
|
"contentHash": "1dceeca82bdf161d02c50a9562ff23a71099903ad7da84301eace6ee1ea83bea",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 386,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/controls.slint": {
|
|
"filePath": "native/ui/controls.slint",
|
|
"contentHash": "a713eeff977b8addff9e0183975a5df1b32ec1631eb5bb8052371031d0b3fc57",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 105,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/dialogs.slint": {
|
|
"filePath": "native/ui/dialogs.slint",
|
|
"contentHash": "10adb4757fb27e9ca14f7c2ce7ee5819fbd0f0ff05173ea2968c1af922c79069",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 93,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/settings.slint": {
|
|
"filePath": "native/ui/settings.slint",
|
|
"contentHash": "a3dfc82b3202f72c46e8b077f644c6340141019a4614b69a08fccae1f57e33a7",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 177,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/shell.slint": {
|
|
"filePath": "native/ui/shell.slint",
|
|
"contentHash": "2c869b1708057605914d0bbc31ee8fb28d6828e7a993350c6a4b48846adb8146",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 313,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"native/ui/theme.slint": {
|
|
"filePath": "native/ui/theme.slint",
|
|
"contentHash": "d625c3f64046bacdfefe0fccad6ae63caa7284a04ec01005dde8f353579ea755",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 26,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/build.gradle.kts": {
|
|
"filePath": "platform/android/build.gradle.kts",
|
|
"contentHash": "eb193186b8d381769baef223d4e3d832ab96724cf61de2ce72a1af517ed319d7",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "com.android.build.api.artifact.SingleArtifact",
|
|
"specifiers": [
|
|
"SingleArtifact"
|
|
]
|
|
},
|
|
{
|
|
"source": "groovy.json.JsonOutput",
|
|
"specifiers": [
|
|
"JsonOutput"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.zip.ZipFile",
|
|
"specifiers": [
|
|
"ZipFile"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 112,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/gradle.properties": {
|
|
"filePath": "platform/android/gradle.properties",
|
|
"contentHash": "1b5176bd49e082c91de6cced223cdb3dce0fa5e213f0c9eee21ba12c691d79e8",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/gradle/wrapper/GradleBootstrap.java": {
|
|
"filePath": "platform/android/gradle/wrapper/GradleBootstrap.java",
|
|
"contentHash": "a28f28fb4935c1f8a544b491426c19c66c0846e7685594f8eb9c5f84de57b4f9",
|
|
"functions": [
|
|
{
|
|
"name": "main",
|
|
"params": [
|
|
"args"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 40
|
|
},
|
|
{
|
|
"name": "verify",
|
|
"params": [
|
|
"path",
|
|
"expected"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "GradleBootstrap",
|
|
"methods": [
|
|
"main",
|
|
"verify"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 47
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "java.io",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.channels.FileChannel",
|
|
"specifiers": [
|
|
"FileChannel"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.file",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.security.MessageDigest",
|
|
"specifiers": [
|
|
"MessageDigest"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.zip",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"main"
|
|
],
|
|
"totalLines": 56,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/gradle/wrapper/gradle-wrapper.properties": {
|
|
"filePath": "platform/android/gradle/wrapper/gradle-wrapper.properties",
|
|
"contentHash": "300928cb80c452b48fbdf19bf3bd763e9fab07e8fc3bd9e00018184ab3eaa9eb",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/gradlew": {
|
|
"filePath": "platform/android/gradlew",
|
|
"contentHash": "5e98084c8f5f9305fca30eb75f0f5b550fdd4f90125c2594e7c91e5afcf6bccf",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 7,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/gradlew.bat": {
|
|
"filePath": "platform/android/gradlew.bat",
|
|
"contentHash": "5750ffc79087b4a43d99a77a3a93b766a5e04a7ee55a5f2c032499988f0a9089",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 7,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/proguard-rules.pro": {
|
|
"filePath": "platform/android/proguard-rules.pro",
|
|
"contentHash": "0e5fd63eee60c93e9ac17aecd7ff6f7e5f40a31bee56c73e40987217709b2579",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/settings.gradle.kts": {
|
|
"filePath": "platform/android/settings.gradle.kts",
|
|
"contentHash": "a114985840b21153006c84fd96ca3dbd192242207f539d6546f9035d198e9e2f",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/direct/AndroidManifest.xml": {
|
|
"filePath": "platform/android/src/direct/AndroidManifest.xml",
|
|
"contentHash": "d965477def25bf22e12dbd5c180bb26d116dba6075e0ea30707a43c751f874c4",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/src/main/AndroidManifest.xml": {
|
|
"filePath": "platform/android/src/main/AndroidManifest.xml",
|
|
"contentHash": "cc5744e09d5f6424c45566c051455df984c29d595bdd337622121283f8436522",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 29,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/ActionReceiver.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/ActionReceiver.java",
|
|
"contentHash": "ae7e5f1379d178487b0ded9766367a3cd7e35c2bb1efb6207d2a9abc7e689ec7",
|
|
"functions": [
|
|
{
|
|
"name": "action",
|
|
"params": [
|
|
"context",
|
|
"token",
|
|
"action"
|
|
],
|
|
"returnType": "PendingIntent",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "onReceive",
|
|
"params": [
|
|
"context",
|
|
"intent"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "ActionReceiver",
|
|
"methods": [
|
|
"action",
|
|
"onReceive"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 19
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.PendingIntent",
|
|
"specifiers": [
|
|
"PendingIntent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.net.Uri",
|
|
"specifiers": [
|
|
"Uri"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onReceive",
|
|
"ActionReceiver"
|
|
],
|
|
"totalLines": 26,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/InstallProvider.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/InstallProvider.java",
|
|
"contentHash": "89be0dcdabd1bc3d46d6daf861a53916dd9e7bbdd047d33286bc37e1a122c46e",
|
|
"functions": [
|
|
{
|
|
"name": "retain",
|
|
"params": [
|
|
"fd"
|
|
],
|
|
"returnType": "Uri",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "release",
|
|
"params": [
|
|
"uri"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "descriptor",
|
|
"params": [
|
|
"uri"
|
|
],
|
|
"returnType": "ParcelFileDescriptor",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onCreate",
|
|
"params": [],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "getType",
|
|
"params": [
|
|
"uri"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "openFile",
|
|
"params": [
|
|
"uri",
|
|
"mode"
|
|
],
|
|
"returnType": "ParcelFileDescriptor",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "query",
|
|
"params": [
|
|
"uri",
|
|
"projection",
|
|
"selection",
|
|
"args",
|
|
"order"
|
|
],
|
|
"returnType": "Cursor",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "insert",
|
|
"params": [
|
|
"uri",
|
|
"values"
|
|
],
|
|
"returnType": "Uri",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"params": [
|
|
"uri",
|
|
"selection",
|
|
"args"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "update",
|
|
"params": [
|
|
"uri",
|
|
"values",
|
|
"selection",
|
|
"args"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "InstallProvider",
|
|
"methods": [
|
|
"retain",
|
|
"release",
|
|
"descriptor",
|
|
"onCreate",
|
|
"getType",
|
|
"openFile",
|
|
"query",
|
|
"insert",
|
|
"delete",
|
|
"update"
|
|
],
|
|
"properties": [
|
|
"FILES"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 36
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.content.ContentProvider",
|
|
"specifiers": [
|
|
"ContentProvider"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.ContentValues",
|
|
"specifiers": [
|
|
"ContentValues"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.database.Cursor",
|
|
"specifiers": [
|
|
"Cursor"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.database.MatrixCursor",
|
|
"specifiers": [
|
|
"MatrixCursor"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.net.Uri",
|
|
"specifiers": [
|
|
"Uri"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.ParcelFileDescriptor",
|
|
"specifiers": [
|
|
"ParcelFileDescriptor"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.provider.OpenableColumns",
|
|
"specifiers": [
|
|
"OpenableColumns"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.io.FileNotFoundException",
|
|
"specifiers": [
|
|
"FileNotFoundException"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.io.IOException",
|
|
"specifiers": [
|
|
"IOException"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.HashMap",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.UUID",
|
|
"specifiers": [
|
|
"UUID"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onCreate",
|
|
"getType",
|
|
"openFile",
|
|
"query",
|
|
"insert",
|
|
"delete",
|
|
"update",
|
|
"InstallProvider"
|
|
],
|
|
"totalLines": 52,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/PlatformBridge.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/PlatformBridge.java",
|
|
"contentHash": "8eafff272c658d1e0f88bc9211834265daf0cee522d78ab5b622444553fa0209",
|
|
"functions": [
|
|
{
|
|
"name": "install",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "post",
|
|
"params": [
|
|
"work"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "visible",
|
|
"params": [],
|
|
"returnType": "TeamsPeachActivity",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "permissionName",
|
|
"params": [
|
|
"permission"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "granted",
|
|
"params": [
|
|
"permission"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"params": [
|
|
"id",
|
|
"kind",
|
|
"name",
|
|
"mime",
|
|
"types"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "permission",
|
|
"params": [
|
|
"id",
|
|
"permission"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "startVoice",
|
|
"params": [
|
|
"token",
|
|
"microphone"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "setVoiceCapture",
|
|
"params": [
|
|
"token",
|
|
"request",
|
|
"enabled"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "cancelVoiceCapture",
|
|
"params": [
|
|
"token",
|
|
"request"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "stopVoice",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "revokeCapture",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "clipboard",
|
|
"params": [
|
|
"id",
|
|
"text",
|
|
"write"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "share",
|
|
"params": [
|
|
"id",
|
|
"text",
|
|
"grant",
|
|
"mime"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "installApk",
|
|
"params": [
|
|
"id",
|
|
"fd"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "openStore",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "notify",
|
|
"params": [
|
|
"token",
|
|
"title",
|
|
"body"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "cancelNotification",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pipUnavailable",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "closePip",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "pip",
|
|
"params": [
|
|
"id",
|
|
"token",
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "accessibility",
|
|
"params": [
|
|
"generation",
|
|
"json"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "attached",
|
|
"params": [
|
|
"owner",
|
|
"generation"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeInstall",
|
|
"params": [
|
|
"application",
|
|
"files"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeEvent",
|
|
"params": [
|
|
"generation",
|
|
"event",
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativePermission",
|
|
"params": [
|
|
"request",
|
|
"permission",
|
|
"granted"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativePick",
|
|
"params": [
|
|
"request",
|
|
"grant",
|
|
"error"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeText",
|
|
"params": [
|
|
"request",
|
|
"value",
|
|
"error"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceValid",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceStopped",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeNotificationValid",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeAction",
|
|
"params": [
|
|
"token",
|
|
"action"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceStarted",
|
|
"params": [
|
|
"token",
|
|
"microphone"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceCaptureValid",
|
|
"params": [
|
|
"token",
|
|
"request"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceCaptureCurrent",
|
|
"params": [
|
|
"token",
|
|
"request"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceCaptureChanged",
|
|
"params": [
|
|
"token",
|
|
"request",
|
|
"enabled"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceCaptureRevoked",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeVoiceEvent",
|
|
"params": [
|
|
"token",
|
|
"event",
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeInsets",
|
|
"params": [
|
|
"generation",
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"keyboard"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeAccessibility",
|
|
"params": [
|
|
"generation",
|
|
"scale",
|
|
"reduced",
|
|
"contrast",
|
|
"reader"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeAccessibilityAction",
|
|
"params": [
|
|
"generation",
|
|
"node",
|
|
"action",
|
|
"text",
|
|
"start",
|
|
"end"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativePip",
|
|
"params": [
|
|
"token",
|
|
"active",
|
|
"playing"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeBack",
|
|
"params": [
|
|
"generation"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeHarnessEnabled",
|
|
"params": [],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "PlatformBridge",
|
|
"methods": [
|
|
"install",
|
|
"post",
|
|
"visible",
|
|
"permissionName",
|
|
"granted",
|
|
"pick",
|
|
"permission",
|
|
"cancel",
|
|
"startVoice",
|
|
"setVoiceCapture",
|
|
"cancelVoiceCapture",
|
|
"stopVoice",
|
|
"revokeCapture",
|
|
"clipboard",
|
|
"share",
|
|
"installApk",
|
|
"openStore",
|
|
"notify",
|
|
"cancelNotification",
|
|
"pipUnavailable",
|
|
"closePip",
|
|
"pip",
|
|
"accessibility",
|
|
"attached",
|
|
"nativeInstall",
|
|
"nativeEvent",
|
|
"nativePermission",
|
|
"nativePick",
|
|
"nativeText",
|
|
"nativeVoiceValid",
|
|
"nativeVoiceStopped",
|
|
"nativeNotificationValid",
|
|
"nativeAction",
|
|
"nativeVoiceStarted",
|
|
"nativeVoiceCaptureValid",
|
|
"nativeVoiceCaptureCurrent",
|
|
"nativeVoiceCaptureChanged",
|
|
"nativeVoiceCaptureRevoked",
|
|
"nativeVoiceEvent",
|
|
"nativeInsets",
|
|
"nativeAccessibility",
|
|
"nativeAccessibilityAction",
|
|
"nativePip",
|
|
"nativeBack",
|
|
"nativeHarnessEnabled"
|
|
],
|
|
"properties": [
|
|
"application",
|
|
"MAIN",
|
|
"activity",
|
|
"pending"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 132
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.Manifest",
|
|
"specifiers": [
|
|
"Manifest"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.pm.PackageManager",
|
|
"specifiers": [
|
|
"PackageManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.net",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view.accessibility.AccessibilityManager",
|
|
"specifiers": [
|
|
"AccessibilityManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.lang.ref.WeakReference",
|
|
"specifiers": [
|
|
"WeakReference"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.concurrent.atomic.AtomicInteger",
|
|
"specifiers": [
|
|
"AtomicInteger"
|
|
]
|
|
},
|
|
{
|
|
"source": "dev.teamspeach.mobile.capture.CaptureBridge",
|
|
"specifiers": [
|
|
"CaptureBridge"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"pick",
|
|
"permission",
|
|
"cancel",
|
|
"startVoice",
|
|
"setVoiceCapture",
|
|
"cancelVoiceCapture",
|
|
"stopVoice",
|
|
"revokeCapture",
|
|
"clipboard",
|
|
"share",
|
|
"installApk",
|
|
"openStore",
|
|
"notify",
|
|
"cancelNotification",
|
|
"pipUnavailable",
|
|
"closePip",
|
|
"pip",
|
|
"accessibility",
|
|
"attached",
|
|
"PlatformBridge"
|
|
],
|
|
"totalLines": 147,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/SafGrant.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/SafGrant.java",
|
|
"contentHash": "141b22acb5b74e37bd8cd7f3d0d94124a0e12d497f1548f02c11b133bba5c77e",
|
|
"functions": [
|
|
{
|
|
"name": "SafGrant",
|
|
"params": [
|
|
"lease",
|
|
"uri",
|
|
"directory",
|
|
"name",
|
|
"parent",
|
|
"overwrite"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "acquire",
|
|
"params": [
|
|
"context",
|
|
"uri",
|
|
"flags",
|
|
"directory",
|
|
"createdByPicker"
|
|
],
|
|
"returnType": "SafGrant",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "queryName",
|
|
"params": [
|
|
"context",
|
|
"uri"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "check",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "retainForShare",
|
|
"params": [],
|
|
"returnType": "SafGrant",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "size",
|
|
"params": [],
|
|
"returnType": "long",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "find",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Uri",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"params": [
|
|
"document"
|
|
],
|
|
"returnType": "int",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "isDirectory",
|
|
"params": [
|
|
"document"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "component",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "directory",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "SafGrant",
|
|
"exported": true,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "noAtomicReplace",
|
|
"params": [],
|
|
"returnType": "CommitException",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "beginCommit",
|
|
"params": [],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "deleteNew",
|
|
"params": [],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "finishCommit",
|
|
"params": [
|
|
"success"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "child",
|
|
"params": [
|
|
"name",
|
|
"overwrite"
|
|
],
|
|
"returnType": "SafGrant",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "open",
|
|
"params": [
|
|
"write",
|
|
"truncate"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "close",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SafGrant",
|
|
"methods": [
|
|
"SafGrant",
|
|
"acquire",
|
|
"queryName",
|
|
"check",
|
|
"retainForShare",
|
|
"size",
|
|
"find",
|
|
"flags",
|
|
"isDirectory",
|
|
"component",
|
|
"directory",
|
|
"noAtomicReplace",
|
|
"beginCommit",
|
|
"deleteNew",
|
|
"finishCommit",
|
|
"child",
|
|
"open",
|
|
"close"
|
|
],
|
|
"properties": [
|
|
"LEASES",
|
|
"lease",
|
|
"uri",
|
|
"directory",
|
|
"name",
|
|
"parent",
|
|
"overwrite",
|
|
"closed",
|
|
"newDocument",
|
|
"committing",
|
|
"commitConsumed"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 164
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.content",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.database.Cursor",
|
|
"specifiers": [
|
|
"Cursor"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.net.Uri",
|
|
"specifiers": [
|
|
"Uri"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.ParcelFileDescriptor",
|
|
"specifiers": [
|
|
"ParcelFileDescriptor"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.provider.DocumentsContract",
|
|
"specifiers": [
|
|
"DocumentsContract"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.provider.OpenableColumns",
|
|
"specifiers": [
|
|
"OpenableColumns"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.io",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.HashMap",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"directory",
|
|
"name",
|
|
"size",
|
|
"directory",
|
|
"beginCommit",
|
|
"finishCommit",
|
|
"child",
|
|
"open",
|
|
"close",
|
|
"SafGrant"
|
|
],
|
|
"totalLines": 177,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/SemanticView.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/SemanticView.java",
|
|
"contentHash": "8b745e92e5d6abf9e25e0643c19035b5cf2f8b2c86652241c675b5fffda2c267",
|
|
"functions": [
|
|
{
|
|
"name": "SemanticView",
|
|
"params": [
|
|
"activity"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "update",
|
|
"params": [
|
|
"json"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 21
|
|
},
|
|
{
|
|
"name": "bounds",
|
|
"params": [
|
|
"node"
|
|
],
|
|
"returnType": "Rect",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "send",
|
|
"params": [
|
|
"id",
|
|
"type"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "getAccessibilityNodeProvider",
|
|
"params": [],
|
|
"returnType": "AccessibilityNodeProvider",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dispatchHoverEvent",
|
|
"params": [
|
|
"event"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "SemanticView",
|
|
"methods": [
|
|
"SemanticView",
|
|
"update",
|
|
"bounds",
|
|
"send",
|
|
"getAccessibilityNodeProvider",
|
|
"dispatchHoverEvent"
|
|
],
|
|
"properties": [
|
|
"activity",
|
|
"nodes",
|
|
"root",
|
|
"focused",
|
|
"hovered",
|
|
"inputFocus",
|
|
"previous",
|
|
"provider"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 86
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.graphics.Rect",
|
|
"specifiers": [
|
|
"Rect"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Bundle",
|
|
"specifiers": [
|
|
"Bundle"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view.accessibility",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "org.json",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"getAccessibilityNodeProvider",
|
|
"dispatchHoverEvent"
|
|
],
|
|
"totalLines": 97,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/TeamsPeachActivity.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/TeamsPeachActivity.java",
|
|
"contentHash": "7865ddd484164abc76871a0051347773147b5f709892ed359239719df45774cb",
|
|
"functions": [
|
|
{
|
|
"name": "onCreate",
|
|
"params": [
|
|
"state"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "onResume",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "onPause",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onDestroy",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "onNewIntent",
|
|
"params": [
|
|
"intent"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "dispatchNotification",
|
|
"params": [
|
|
"intent"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "attachSemantics",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "onConfigurationChanged",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "onTrimMemory",
|
|
"params": [
|
|
"level"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "reportConfiguration",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "pick",
|
|
"params": [
|
|
"id",
|
|
"kind",
|
|
"name",
|
|
"mime",
|
|
"types"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "onActivityResult",
|
|
"params": [
|
|
"request",
|
|
"result",
|
|
"data"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "permission",
|
|
"params": [
|
|
"id",
|
|
"permission"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "onRequestPermissionsResult",
|
|
"params": [
|
|
"request",
|
|
"names",
|
|
"grants"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "cancel",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "share",
|
|
"params": [
|
|
"id",
|
|
"text",
|
|
"grant",
|
|
"mime"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "installApk",
|
|
"params": [
|
|
"id",
|
|
"uri"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "launchInstaller",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "finishInstaller",
|
|
"params": [
|
|
"installed",
|
|
"error"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "enterViewerPip",
|
|
"params": [
|
|
"token",
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "closeViewerPip",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "onPictureInPictureModeChanged",
|
|
"params": [
|
|
"active",
|
|
"config"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "TeamsPeachActivity",
|
|
"methods": [
|
|
"onCreate",
|
|
"onResume",
|
|
"onPause",
|
|
"onDestroy",
|
|
"onNewIntent",
|
|
"dispatchNotification",
|
|
"attachSemantics",
|
|
"onConfigurationChanged",
|
|
"onTrimMemory",
|
|
"reportConfiguration",
|
|
"pick",
|
|
"onActivityResult",
|
|
"permission",
|
|
"onRequestPermissionsResult",
|
|
"cancel",
|
|
"share",
|
|
"installApk",
|
|
"launchInstaller",
|
|
"finishInstaller",
|
|
"enterViewerPip",
|
|
"closeViewerPip",
|
|
"onPictureInPictureModeChanged"
|
|
],
|
|
"properties": [
|
|
"resumed",
|
|
"generation",
|
|
"accessibility",
|
|
"picker",
|
|
"permissionRequest",
|
|
"pipToken",
|
|
"shareRequest",
|
|
"installerRequest",
|
|
"pickingDirectory",
|
|
"pickingNewDocument",
|
|
"sharedGrant",
|
|
"installerUri",
|
|
"requestedPermission",
|
|
"PICK",
|
|
"PERMISSION",
|
|
"SHARE",
|
|
"INSTALL",
|
|
"INSTALL_PERMISSION"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 155
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.pm.PackageManager",
|
|
"specifiers": [
|
|
"PackageManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.res.Configuration",
|
|
"specifiers": [
|
|
"Configuration"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.graphics.Rect",
|
|
"specifiers": [
|
|
"Rect"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.provider.Settings",
|
|
"specifiers": [
|
|
"Settings"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.util.Rational",
|
|
"specifiers": [
|
|
"Rational"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view.accessibility.AccessibilityManager",
|
|
"specifiers": [
|
|
"AccessibilityManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.List",
|
|
"specifiers": [
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"source": "dev.teamspeach.mobile.capture.CaptureBridge",
|
|
"specifiers": [
|
|
"CaptureBridge"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onConfigurationChanged",
|
|
"onTrimMemory",
|
|
"onRequestPermissionsResult",
|
|
"onPictureInPictureModeChanged",
|
|
"TeamsPeachActivity"
|
|
],
|
|
"totalLines": 171,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/TeamsPeachApplication.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/TeamsPeachApplication.java",
|
|
"contentHash": "38c5bf343a26af7e53d7adedd55e2202b1c4e2b28209fedd75c0f738a64f12ff",
|
|
"functions": [
|
|
{
|
|
"name": "onCreate",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "TeamsPeachApplication",
|
|
"methods": [
|
|
"onCreate"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.Application",
|
|
"specifiers": [
|
|
"Application"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onCreate",
|
|
"TeamsPeachApplication"
|
|
],
|
|
"totalLines": 13,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/VoiceService.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/VoiceService.java",
|
|
"contentHash": "bca118e3356ef723495231c1d9a55bd41e6a6ca0320c0e1d51cf53b2ea8d9ac0",
|
|
"functions": [
|
|
{
|
|
"name": "stop",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "foreground",
|
|
"params": [
|
|
"capture"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "changeCapture",
|
|
"params": [
|
|
"token",
|
|
"request",
|
|
"enabled"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "cancelCapture",
|
|
"params": [
|
|
"token",
|
|
"request"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "loseMicrophone",
|
|
"params": [
|
|
"token"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "receiveOnly",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onCreate",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "onStartCommand",
|
|
"params": [
|
|
"intent",
|
|
"flags",
|
|
"startId"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 32
|
|
},
|
|
{
|
|
"name": "onDestroy",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "onBind",
|
|
"params": [
|
|
"intent"
|
|
],
|
|
"returnType": "IBinder",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "VoiceService",
|
|
"methods": [
|
|
"stop",
|
|
"foreground",
|
|
"changeCapture",
|
|
"cancelCapture",
|
|
"loseMicrophone",
|
|
"receiveOnly",
|
|
"onCreate",
|
|
"onStartCommand",
|
|
"onDestroy",
|
|
"onBind"
|
|
],
|
|
"properties": [
|
|
"token",
|
|
"microphone",
|
|
"focus",
|
|
"devices",
|
|
"ID",
|
|
"current"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 78
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.pm.ServiceInfo",
|
|
"specifiers": [
|
|
"ServiceInfo"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.media",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "dev.teamspeach.mobile.capture.CaptureBridge",
|
|
"specifiers": [
|
|
"CaptureBridge"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onCreate",
|
|
"onStartCommand",
|
|
"onDestroy",
|
|
"onBind",
|
|
"VoiceService"
|
|
],
|
|
"totalLines": 89,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureBridge.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureBridge.java",
|
|
"contentHash": "3f4e5bd9d7dba243f415a091cca732ce77b18c7d601738a6c2dfb9fc62dfbf8f",
|
|
"functions": [
|
|
{
|
|
"name": "CaptureBridge",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "install",
|
|
"params": [
|
|
"context"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "bindActivity",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unbindActivity",
|
|
"params": [
|
|
"value"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "context",
|
|
"params": [],
|
|
"returnType": "Context",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "cameras",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "audioApplications",
|
|
"params": [],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 20
|
|
},
|
|
{
|
|
"name": "start",
|
|
"params": [
|
|
"id",
|
|
"camera",
|
|
"device",
|
|
"width",
|
|
"height",
|
|
"fps",
|
|
"audioUid"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "stopAndWait",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "revokeAll",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "active",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "ended",
|
|
"params": [
|
|
"id",
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeActive",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeEnded",
|
|
"params": [
|
|
"id",
|
|
"reason"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeRgba",
|
|
"params": [
|
|
"id",
|
|
"buffer",
|
|
"width",
|
|
"height",
|
|
"stride",
|
|
"timestampNs",
|
|
"ageNs"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeYuv",
|
|
"params": [
|
|
"id",
|
|
"y",
|
|
"u",
|
|
"v",
|
|
"width",
|
|
"height",
|
|
"sy",
|
|
"su",
|
|
"sv",
|
|
"pu",
|
|
"pv",
|
|
"rotation",
|
|
"timestampNs",
|
|
"ageNs"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "nativeAudio",
|
|
"params": [
|
|
"id",
|
|
"pcm",
|
|
"ageNs"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureBridge",
|
|
"methods": [
|
|
"CaptureBridge",
|
|
"install",
|
|
"bindActivity",
|
|
"unbindActivity",
|
|
"context",
|
|
"cameras",
|
|
"audioApplications",
|
|
"start",
|
|
"stop",
|
|
"stopAndWait",
|
|
"revokeAll",
|
|
"active",
|
|
"ended",
|
|
"nativeActive",
|
|
"nativeEnded",
|
|
"nativeRgba",
|
|
"nativeYuv",
|
|
"nativeAudio"
|
|
],
|
|
"properties": [
|
|
"application",
|
|
"activity",
|
|
"MAIN",
|
|
"REQUESTS"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 99
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.Activity",
|
|
"specifiers": [
|
|
"Activity"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Context",
|
|
"specifiers": [
|
|
"Context"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Intent",
|
|
"specifiers": [
|
|
"Intent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.camera2.CameraCharacteristics",
|
|
"specifiers": [
|
|
"CameraCharacteristics"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.camera2.CameraManager",
|
|
"specifiers": [
|
|
"CameraManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Handler",
|
|
"specifiers": [
|
|
"Handler"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Looper",
|
|
"specifiers": [
|
|
"Looper"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.lang.ref.WeakReference",
|
|
"specifiers": [
|
|
"WeakReference"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.ByteBuffer",
|
|
"specifiers": [
|
|
"ByteBuffer"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.concurrent.ConcurrentHashMap",
|
|
"specifiers": [
|
|
"ConcurrentHashMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "org.json.JSONArray",
|
|
"specifiers": [
|
|
"JSONArray"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"install",
|
|
"bindActivity",
|
|
"unbindActivity",
|
|
"cameras",
|
|
"audioApplications",
|
|
"start",
|
|
"stop",
|
|
"stopAndWait",
|
|
"revokeAll",
|
|
"CaptureBridge"
|
|
],
|
|
"totalLines": 115,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureConsentActivity.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureConsentActivity.java",
|
|
"contentHash": "36112b48d25e94354d67ffd54665a30185cdbe6a26bfb981ab5844a4111e2028",
|
|
"functions": [
|
|
{
|
|
"name": "cancel",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onCreate",
|
|
"params": [
|
|
"saved"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "onRequestPermissionsResult",
|
|
"params": [
|
|
"code",
|
|
"permissions",
|
|
"results"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "continueConsent",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "onActivityResult",
|
|
"params": [
|
|
"code",
|
|
"result",
|
|
"data"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "launch",
|
|
"params": [
|
|
"token",
|
|
"result"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "reject",
|
|
"params": [
|
|
"message"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "onDestroy",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureConsentActivity",
|
|
"methods": [
|
|
"cancel",
|
|
"onCreate",
|
|
"onRequestPermissionsResult",
|
|
"continueConsent",
|
|
"onActivityResult",
|
|
"launch",
|
|
"reject",
|
|
"onDestroy"
|
|
],
|
|
"properties": [
|
|
"current",
|
|
"id",
|
|
"handedOff",
|
|
"PERMISSION",
|
|
"PROJECTION"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 55
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.Manifest",
|
|
"specifiers": [
|
|
"Manifest"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app.Activity",
|
|
"specifiers": [
|
|
"Activity"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Intent",
|
|
"specifiers": [
|
|
"Intent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.pm.PackageManager",
|
|
"specifiers": [
|
|
"PackageManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.media.projection.MediaProjectionManager",
|
|
"specifiers": [
|
|
"MediaProjectionManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Build",
|
|
"specifiers": [
|
|
"Build"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Bundle",
|
|
"specifiers": [
|
|
"Bundle"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.lang.ref.WeakReference",
|
|
"specifiers": [
|
|
"WeakReference"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onCreate",
|
|
"onRequestPermissionsResult",
|
|
"onActivityResult",
|
|
"CaptureConsentActivity"
|
|
],
|
|
"totalLines": 68,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureService.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureService.java",
|
|
"contentHash": "38c3cac3f805693855c0c67fa11d09a7dd3e558b0d2e86418339e136218b2cef",
|
|
"functions": [
|
|
{
|
|
"name": "onCreate",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onStartCommand",
|
|
"params": [
|
|
"intent",
|
|
"flags",
|
|
"startId"
|
|
],
|
|
"returnType": "int",
|
|
"exported": true,
|
|
"lineCount": 27
|
|
},
|
|
{
|
|
"name": "stopCapture",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "detachCapture",
|
|
"params": [
|
|
"id"
|
|
],
|
|
"returnType": "CaptureSession",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "released",
|
|
"params": [
|
|
"session"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "onDestroy",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "onBind",
|
|
"params": [
|
|
"intent"
|
|
],
|
|
"returnType": "IBinder",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureService",
|
|
"methods": [
|
|
"onCreate",
|
|
"onStartCommand",
|
|
"stopCapture",
|
|
"detachCapture",
|
|
"released",
|
|
"onDestroy",
|
|
"onBind"
|
|
],
|
|
"properties": [
|
|
"RELEASING",
|
|
"current",
|
|
"sessions",
|
|
"CHANNEL",
|
|
"NOTIFICATION"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 54
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.Notification",
|
|
"specifiers": [
|
|
"Notification"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app.NotificationChannel",
|
|
"specifiers": [
|
|
"NotificationChannel"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app.NotificationManager",
|
|
"specifiers": [
|
|
"NotificationManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app.PendingIntent",
|
|
"specifiers": [
|
|
"PendingIntent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.app.Service",
|
|
"specifiers": [
|
|
"Service"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Intent",
|
|
"specifiers": [
|
|
"Intent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.pm.ServiceInfo",
|
|
"specifiers": [
|
|
"ServiceInfo"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.Build",
|
|
"specifiers": [
|
|
"Build"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os.IBinder",
|
|
"specifiers": [
|
|
"IBinder"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.lang.ref.WeakReference",
|
|
"specifiers": [
|
|
"WeakReference"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.HashMap",
|
|
"specifiers": [
|
|
"HashMap"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"onCreate",
|
|
"onStartCommand",
|
|
"onDestroy",
|
|
"onBind",
|
|
"CaptureService"
|
|
],
|
|
"totalLines": 70,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureSession.java": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/capture/CaptureSession.java",
|
|
"contentHash": "1c02c267fdd0c28ea1b040f303545d8ebe62aa164c1d58b35c85cf955ff11861",
|
|
"functions": [
|
|
{
|
|
"name": "CaptureSession",
|
|
"params": [
|
|
"context",
|
|
"request"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "start",
|
|
"params": [
|
|
"token",
|
|
"result"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "valid",
|
|
"params": [],
|
|
"returnType": "boolean",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "fail",
|
|
"params": [
|
|
"reason"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "scaled",
|
|
"params": [
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "Size",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "resize",
|
|
"params": [
|
|
"width",
|
|
"height"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "watchDisplay",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "createReader",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"format"
|
|
],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "plane",
|
|
"params": [
|
|
"plane",
|
|
"x",
|
|
"y"
|
|
],
|
|
"returnType": "ByteBuffer",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "rotation",
|
|
"params": [],
|
|
"returnType": "int",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "startCamera",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 46
|
|
},
|
|
{
|
|
"name": "startPlaybackAudio",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 37
|
|
},
|
|
{
|
|
"name": "awaitStopped",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "close",
|
|
"params": [],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 15
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "CaptureSession",
|
|
"methods": [
|
|
"CaptureSession",
|
|
"start",
|
|
"valid",
|
|
"fail",
|
|
"scaled",
|
|
"resize",
|
|
"watchDisplay",
|
|
"createReader",
|
|
"plane",
|
|
"rotation",
|
|
"startCamera",
|
|
"startPlaybackAudio",
|
|
"awaitStopped",
|
|
"close"
|
|
],
|
|
"properties": [
|
|
"request",
|
|
"context",
|
|
"thread",
|
|
"handler",
|
|
"closed",
|
|
"projection",
|
|
"display",
|
|
"reader",
|
|
"camera",
|
|
"cameraSession",
|
|
"audio",
|
|
"audioThread",
|
|
"displayManager",
|
|
"displayListener",
|
|
"sensorOrientation",
|
|
"lensFacing",
|
|
"realtimeCamera",
|
|
"lastVideoNs",
|
|
"density"
|
|
],
|
|
"exported": false,
|
|
"lineCount": 219
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "android.app.Activity",
|
|
"specifiers": [
|
|
"Activity"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Context",
|
|
"specifiers": [
|
|
"Context"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.content.Intent",
|
|
"specifiers": [
|
|
"Intent"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.graphics.ImageFormat",
|
|
"specifiers": [
|
|
"ImageFormat"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.graphics.PixelFormat",
|
|
"specifiers": [
|
|
"PixelFormat"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.camera2",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.camera2.params.StreamConfigurationMap",
|
|
"specifiers": [
|
|
"StreamConfigurationMap"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.display.DisplayManager",
|
|
"specifiers": [
|
|
"DisplayManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.hardware.display.VirtualDisplay",
|
|
"specifiers": [
|
|
"VirtualDisplay"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.media",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.media.projection.MediaProjection",
|
|
"specifiers": [
|
|
"MediaProjection"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.media.projection.MediaProjectionManager",
|
|
"specifiers": [
|
|
"MediaProjectionManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.os",
|
|
"specifiers": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.util.DisplayMetrics",
|
|
"specifiers": [
|
|
"DisplayMetrics"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.util.Range",
|
|
"specifiers": [
|
|
"Range"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.util.Size",
|
|
"specifiers": [
|
|
"Size"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view.Surface",
|
|
"specifiers": [
|
|
"Surface"
|
|
]
|
|
},
|
|
{
|
|
"source": "android.view.WindowManager",
|
|
"specifiers": [
|
|
"WindowManager"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.ByteBuffer",
|
|
"specifiers": [
|
|
"ByteBuffer"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.nio.ByteOrder",
|
|
"specifiers": [
|
|
"ByteOrder"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.Arrays",
|
|
"specifiers": [
|
|
"Arrays"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.Collections",
|
|
"specifiers": [
|
|
"Collections"
|
|
]
|
|
},
|
|
{
|
|
"source": "java.util.concurrent.atomic.AtomicBoolean",
|
|
"specifiers": [
|
|
"AtomicBoolean"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"close"
|
|
],
|
|
"totalLines": 246,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/android/src/main/java/dev/teamspeach/mobile/capture/proguard-rules.pro": {
|
|
"filePath": "platform/android/src/main/java/dev/teamspeach/mobile/capture/proguard-rules.pro",
|
|
"contentHash": "4f92ab0098e58b8e37ce0698650d26cca7d24e5594be236ba47f32755ff15f80",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 3,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Broadcast/CaptureRing.h": {
|
|
"filePath": "platform/ios/Broadcast/CaptureRing.h",
|
|
"contentHash": "f607381bb13582731328cecaacfebbd5dd4b2b0f7311f39ddd1e5216d8adeb22",
|
|
"functions": [
|
|
{
|
|
"name": "nv12_layout",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"stride",
|
|
"bytes"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "clock_ns",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "uint64_t",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "mapping_layout",
|
|
"owner": "",
|
|
"params": [
|
|
"width",
|
|
"height",
|
|
"slot_bytes",
|
|
"mapping_bytes"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "valid_layout",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"file_bytes"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "identity",
|
|
"owner": "",
|
|
"params": [
|
|
"h"
|
|
],
|
|
"returnType": "Identity",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "valid_video",
|
|
"owner": "",
|
|
"params": [
|
|
"slot",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "matches",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "valid",
|
|
"owner": "",
|
|
"params": [
|
|
"h",
|
|
"id"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "clear",
|
|
"owner": "",
|
|
"params": [
|
|
"map"
|
|
],
|
|
"returnType": "void",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Slot",
|
|
"methods": [],
|
|
"properties": [
|
|
"state",
|
|
"bytes",
|
|
"sequence"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "Header",
|
|
"methods": [],
|
|
"properties": [
|
|
"magic",
|
|
"mapping_bytes",
|
|
"nonce",
|
|
"connection_id",
|
|
"session",
|
|
"application_audio",
|
|
"active",
|
|
"heartbeat_ns",
|
|
"video",
|
|
"audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "Mapping",
|
|
"methods": [],
|
|
"properties": [
|
|
"header",
|
|
"audio"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "Identity",
|
|
"methods": [],
|
|
"properties": [
|
|
"nonce",
|
|
"connection_id",
|
|
"session",
|
|
"max_width"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "atomic",
|
|
"specifiers": [
|
|
"atomic"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstddef",
|
|
"specifiers": [
|
|
"cstddef"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstdint",
|
|
"specifiers": [
|
|
"cstdint"
|
|
]
|
|
},
|
|
{
|
|
"source": "cstring",
|
|
"specifiers": [
|
|
"cstring"
|
|
]
|
|
},
|
|
{
|
|
"source": "limits",
|
|
"specifiers": [
|
|
"limits"
|
|
]
|
|
},
|
|
{
|
|
"source": "mach/mach_time.h",
|
|
"specifiers": [
|
|
"mach/mach_time.h"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"nv12_layout",
|
|
"clock_ns",
|
|
"Slot",
|
|
"Header",
|
|
"Mapping",
|
|
"mapping_layout",
|
|
"valid_layout",
|
|
"Identity",
|
|
"identity",
|
|
"valid_video",
|
|
"matches",
|
|
"valid",
|
|
"clear"
|
|
],
|
|
"totalLines": 102,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/ios/Broadcast/CaptureWriter.h": {
|
|
"filePath": "platform/ios/Broadcast/CaptureWriter.h",
|
|
"contentHash": "cc1cff9f75b1be311277c62469040938bc9438a5ce8981bcd9132f5fa2808821",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "CaptureRing.h",
|
|
"specifiers": [
|
|
"CaptureRing.h"
|
|
]
|
|
}
|
|
],
|
|
"exports": [],
|
|
"totalLines": 11,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"platform/ios/Broadcast/CaptureWriter.mm": {
|
|
"filePath": "platform/ios/Broadcast/CaptureWriter.mm",
|
|
"contentHash": "3f0836619f843ccbb6149c61d8e359e045bffab0db0ede8d19b54641b2337463",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 164,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Broadcast/Info.plist": {
|
|
"filePath": "platform/ios/Broadcast/Info.plist",
|
|
"contentHash": "efaae0d06a9b46cf950601d432a20041e857ee60eb654bad396a44a91a41b8de",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 18,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Broadcast/SampleHandler.mm": {
|
|
"filePath": "platform/ios/Broadcast/SampleHandler.mm",
|
|
"contentHash": "40e184050c4e245758723f99fe32c8bc47f863be5f744d5f4e117aab411e9d74",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 93,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Broadcast/TeamsPeachBroadcast.entitlements": {
|
|
"filePath": "platform/ios/Broadcast/TeamsPeachBroadcast.entitlements",
|
|
"contentHash": "1947be7cab96064a15650468c9f0ec693491116656f2148b79ee953c8f3d1721",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 6,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/Info.plist": {
|
|
"filePath": "platform/ios/Host/Info.plist",
|
|
"contentHash": "bd0a9aadbf1837a0e13d700fceba0186b3d28ba0c94f072908f211e9436e1974",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 42,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/TeamsPeach.entitlements": {
|
|
"filePath": "platform/ios/Host/TeamsPeach.entitlements",
|
|
"contentHash": "75e395dd1ae1f4273a93d8b173c05bd39bf5f90667eab2f493c4755e0cf9808c",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 7,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/en.lproj/InfoPlist.strings": {
|
|
"filePath": "platform/ios/Host/en.lproj/InfoPlist.strings",
|
|
"contentHash": "bc56f974b56081333bdd4c9b1caa34f76c65c4857e36b14974a695b4df906af1",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/en.lproj/Localizable.strings": {
|
|
"filePath": "platform/ios/Host/en.lproj/Localizable.strings",
|
|
"contentHash": "d812978e0be6d569555a2214453ab8537feb13e52a89a7765c9258f9cca01783",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 8,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/ru.lproj/InfoPlist.strings": {
|
|
"filePath": "platform/ios/Host/ru.lproj/InfoPlist.strings",
|
|
"contentHash": "5f56de97aef4baaeb3106d1be651d9eee9f6162334fc9bab6706c7175a656c97",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/Host/ru.lproj/Localizable.strings": {
|
|
"filePath": "platform/ios/Host/ru.lproj/Localizable.strings",
|
|
"contentHash": "7334fa8fffa80c6705078a2ac48b589d109e6e868bc023955f494af4c8f1b501",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 8,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/build_for_ios_with_cargo.bash": {
|
|
"filePath": "platform/ios/build_for_ios_with_cargo.bash",
|
|
"contentHash": "63429817cc9cae8859d462d4a2c05de258f214d95c3414cf9d1e0b096a38409d",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 48,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/prepare_info_plist.bash": {
|
|
"filePath": "platform/ios/prepare_info_plist.bash",
|
|
"contentHash": "4267720c840412c17e9be496ec4d62ec65d1d74baa714bca8311f26f89ce3063",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 15,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/project.yml": {
|
|
"filePath": "platform/ios/project.yml",
|
|
"contentHash": "68d3e3e8d81a2f6c4776b00984a10c6205da7cde1f2b497c1b935dfdd60a2b22",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 112,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"platform/ios/stage_native_notices.bash": {
|
|
"filePath": "platform/ios/stage_native_notices.bash",
|
|
"contentHash": "7e6fce6a53a1be19ad8bb599f107ac885cd78e0a26f1a6708177d60ede42eadd",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 23,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"rust-toolchain.toml": {
|
|
"filePath": "rust-toolchain.toml",
|
|
"contentHash": "5da26016d0ff5bb73a39dc6a4a6da565cce4ad9b58ab95cf4edf1c84afca6d16",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 4,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"xtask/Cargo.toml": {
|
|
"filePath": "xtask/Cargo.toml",
|
|
"contentHash": "d21e6298aeae0c7a8a7a6755711c64d97fa13a6059584d248e96b888931b197e",
|
|
"functions": [],
|
|
"classes": [],
|
|
"imports": [],
|
|
"exports": [],
|
|
"totalLines": 12,
|
|
"hasStructuralAnalysis": false
|
|
},
|
|
"xtask/publish_release.py": {
|
|
"filePath": "xtask/publish_release.py",
|
|
"contentHash": "3176cbc40e6d417a302ff38bad09b86bbdeb96ac388695bc9459f2890ebeeb87",
|
|
"functions": [
|
|
{
|
|
"name": "digest",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "main",
|
|
"params": [],
|
|
"exported": true,
|
|
"lineCount": 135
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"base64"
|
|
]
|
|
},
|
|
{
|
|
"source": "hashlib",
|
|
"specifiers": [
|
|
"hashlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "http.client",
|
|
"specifiers": [
|
|
"http.client"
|
|
]
|
|
},
|
|
{
|
|
"source": "json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "os",
|
|
"specifiers": [
|
|
"os"
|
|
]
|
|
},
|
|
{
|
|
"source": "pathlib",
|
|
"specifiers": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "re",
|
|
"specifiers": [
|
|
"re"
|
|
]
|
|
},
|
|
{
|
|
"source": "sys",
|
|
"specifiers": [
|
|
"sys"
|
|
]
|
|
},
|
|
{
|
|
"source": "urllib.parse",
|
|
"specifiers": [
|
|
"quote",
|
|
"urljoin",
|
|
"urlsplit"
|
|
]
|
|
},
|
|
{
|
|
"source": "uuid",
|
|
"specifiers": [
|
|
"uuid"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"digest",
|
|
"main"
|
|
],
|
|
"totalLines": 169,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/build_native.rs": {
|
|
"filePath": "xtask/src/build_native.rs",
|
|
"contentHash": "9fee64c60a2ca80e8022d51635a2bb106cc9d0a0b5066d11234991bcfa69ddab",
|
|
"functions": [
|
|
{
|
|
"name": "command",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"program"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "llvm_tool",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"directory",
|
|
"name"
|
|
],
|
|
"returnType": "Result<PathBuf, String>",
|
|
"exported": true,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "set",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"key",
|
|
"value"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "get",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"key"
|
|
],
|
|
"returnType": "Option<OsString>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "prepend_path",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"directory"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "find",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Option<PathBuf>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "require_program",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<PathBuf, String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "discover",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"target",
|
|
"native_build"
|
|
],
|
|
"returnType": "Result<Self, String>",
|
|
"exported": true,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "visual_studio",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 55
|
|
},
|
|
{
|
|
"name": "portable_tools",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"native_build"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 38
|
|
},
|
|
{
|
|
"name": "check_source_prerequisites",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 31
|
|
},
|
|
{
|
|
"name": "rust_flag",
|
|
"owner": "Environment",
|
|
"params": [
|
|
"flag"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "choose_directory",
|
|
"owner": "",
|
|
"params": [
|
|
"explicit",
|
|
"environment",
|
|
"base",
|
|
"prefix",
|
|
"accepts"
|
|
],
|
|
"returnType": "Result<Option<PathBuf>, String>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "absolute",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<PathBuf, String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "apple_sdk",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "&'static str",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "build",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 97
|
|
},
|
|
{
|
|
"name": "verify_all_windows_archives",
|
|
"owner": "",
|
|
"params": [
|
|
"environment",
|
|
"llvm",
|
|
"directory"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "verify_all_shared_elf",
|
|
"owner": "",
|
|
"params": [
|
|
"directory"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Environment",
|
|
"methods": [
|
|
"command",
|
|
"llvm_tool",
|
|
"set",
|
|
"get",
|
|
"prepend_path",
|
|
"find",
|
|
"require_program",
|
|
"discover",
|
|
"visual_studio",
|
|
"portable_tools",
|
|
"check_source_prerequisites",
|
|
"rust_flag"
|
|
],
|
|
"properties": [
|
|
"values",
|
|
"python"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 4
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"env",
|
|
"fs",
|
|
"process::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Environment",
|
|
"command",
|
|
"llvm_tool",
|
|
"set",
|
|
"get",
|
|
"prepend_path",
|
|
"require_program",
|
|
"discover",
|
|
"check_source_prerequisites",
|
|
"build"
|
|
],
|
|
"totalLines": 360,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/deps.rs": {
|
|
"filePath": "xtask/src/deps.rs",
|
|
"contentHash": "6c0bcef32e929f7318866376aed6f6407fff2cc8da6cb97ea314ce47a9ef60ce",
|
|
"functions": [
|
|
{
|
|
"name": "parse",
|
|
"owner": "Target<'a>",
|
|
"params": [
|
|
"triple"
|
|
],
|
|
"returnType": "Result<Self, String>",
|
|
"exported": true,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "check_host",
|
|
"owner": "Target<'a>",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "cache",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"target"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "command_label",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "capture",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "read_text",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "read_json",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "require_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "mkdir",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "save",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "copy",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "sha256",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": true,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "bytes_hash",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "text",
|
|
"owner": "",
|
|
"params": [
|
|
"value",
|
|
"name"
|
|
],
|
|
"returnType": "Result<&'a str, String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "lock_policy",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "policy_hash",
|
|
"owner": "",
|
|
"params": [
|
|
"lock"
|
|
],
|
|
"returnType": "Result<String, String>",
|
|
"exported": false,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "driver_hashes",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "acquire",
|
|
"owner": "ProvisionLease",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<Self, String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "drop",
|
|
"owner": null,
|
|
"params": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "checkout",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"directory",
|
|
"source"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "apply_patch",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"source",
|
|
"patch",
|
|
"expected"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "gn_args",
|
|
"owner": "",
|
|
"params": [
|
|
"target"
|
|
],
|
|
"returnType": "String",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "selected_patches",
|
|
"owner": "",
|
|
"params": [
|
|
"lock",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Vec<&'a Value>, String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "gclient",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"depot",
|
|
"checkout"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "provision",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 170
|
|
},
|
|
{
|
|
"name": "executable",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "String",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "ninja_build",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"ninja",
|
|
"out",
|
|
"jobs",
|
|
"targets"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "verify_codec_graph",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"gn",
|
|
"source",
|
|
"out",
|
|
"target"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "files_below",
|
|
"owner": "",
|
|
"params": [
|
|
"directory",
|
|
"result"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "assemble_archive",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm_bin",
|
|
"out",
|
|
"archive"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 17
|
|
},
|
|
{
|
|
"name": "namespace_opus",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm",
|
|
"out",
|
|
"archive",
|
|
"artifact",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 105
|
|
},
|
|
{
|
|
"name": "prefix_linux_symbols",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm",
|
|
"sdk",
|
|
"out",
|
|
"archive"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "copy_headers",
|
|
"owner": "",
|
|
"params": [
|
|
"current",
|
|
"base",
|
|
"destination",
|
|
"all"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "android_artifacts",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"sdk",
|
|
"source",
|
|
"out",
|
|
"artifact"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "verify_archive",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm",
|
|
"archive",
|
|
"target"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 14
|
|
},
|
|
{
|
|
"name": "verify_windows_crt",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm",
|
|
"archive"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 10
|
|
},
|
|
{
|
|
"name": "verify_android",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"llvm",
|
|
"artifact",
|
|
"target"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "verify_elf_alignment",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 26
|
|
},
|
|
{
|
|
"name": "artifact_hashes",
|
|
"owner": "",
|
|
"params": [
|
|
"artifact"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 9
|
|
},
|
|
{
|
|
"name": "dependency_files",
|
|
"owner": "",
|
|
"params": [
|
|
"checkout",
|
|
"dependencies"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "source_patch_diffs",
|
|
"owner": "",
|
|
"params": [
|
|
"env",
|
|
"checkout",
|
|
"dependencies"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "replace_lock",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"lock"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 16
|
|
},
|
|
{
|
|
"name": "verify",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"target"
|
|
],
|
|
"returnType": "Result<PathBuf, String>",
|
|
"exported": true,
|
|
"lineCount": 18
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Target",
|
|
"methods": [],
|
|
"properties": [
|
|
"triple",
|
|
"os",
|
|
"cpu",
|
|
"simulator"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "ProvisionLease",
|
|
"methods": [
|
|
"acquire",
|
|
"drop"
|
|
],
|
|
"properties": [],
|
|
"exported": false,
|
|
"lineCount": 1
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeMap",
|
|
"ffi::OsStr",
|
|
"process::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha256"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options",
|
|
"build_native::Environment"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Target",
|
|
"parse",
|
|
"check_host",
|
|
"cache",
|
|
"run",
|
|
"capture",
|
|
"read_text",
|
|
"require_file",
|
|
"sha256",
|
|
"provision",
|
|
"executable",
|
|
"verify_windows_crt",
|
|
"verify_elf_alignment",
|
|
"verify"
|
|
],
|
|
"totalLines": 766,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/main.rs": {
|
|
"filePath": "xtask/src/main.rs",
|
|
"contentHash": "50937c820b5e7727f100d58baa64953c147f4ef3c35bd24b1144e1894ba7600e",
|
|
"functions": [
|
|
{
|
|
"name": "run",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 50
|
|
},
|
|
{
|
|
"name": "main",
|
|
"owner": "",
|
|
"params": [],
|
|
"returnType": "ExitCode",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Options",
|
|
"methods": [],
|
|
"properties": [
|
|
"target",
|
|
"llvm_dir",
|
|
"skia_source",
|
|
"jobs",
|
|
"out",
|
|
"scenario",
|
|
"codec_probe",
|
|
"device",
|
|
"app",
|
|
"test_harness"
|
|
],
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"env",
|
|
"path::PathBuf",
|
|
"process::ExitCode"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Options"
|
|
],
|
|
"totalLines": 83,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/package.rs": {
|
|
"filePath": "xtask/src/package.rs",
|
|
"contentHash": "8cf07b8275c4d09a6fe0d19c250f143c0abe7cb40ddc70074c636393bee01434",
|
|
"functions": [
|
|
{
|
|
"name": "target_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "output_dir",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "PathBuf",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "mkdir",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "save",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"value"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "json_file",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Value, String>",
|
|
"exported": true,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "copy",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "copy_tree",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "sha512",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<String,String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "version",
|
|
"owner": "",
|
|
"params": [
|
|
"_root"
|
|
],
|
|
"returnType": "Result<String,String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "record",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"target",
|
|
"kind"
|
|
],
|
|
"returnType": "Result<Value,String>",
|
|
"exported": true,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "merge_manifest",
|
|
"owner": "",
|
|
"params": [
|
|
"manifest",
|
|
"version",
|
|
"additions"
|
|
],
|
|
"returnType": "Result<Value,String>",
|
|
"exported": true,
|
|
"lineCount": 19
|
|
},
|
|
{
|
|
"name": "resources",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"destination",
|
|
"native_archive"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "zip",
|
|
"owner": "",
|
|
"params": [
|
|
"directory",
|
|
"output"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "signed_windows",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<bool,String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "update_channel",
|
|
"owner": "",
|
|
"params": [
|
|
"version"
|
|
],
|
|
"returnType": "&str",
|
|
"exported": true,
|
|
"lineCount": 5
|
|
},
|
|
{
|
|
"name": "yaml",
|
|
"owner": "",
|
|
"params": [
|
|
"out",
|
|
"version",
|
|
"entry",
|
|
"target"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "package",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 138
|
|
},
|
|
{
|
|
"name": "atomic_replace",
|
|
"owner": "",
|
|
"params": [
|
|
"source",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "verify_build_receipt",
|
|
"owner": "",
|
|
"params": [
|
|
"release",
|
|
"target",
|
|
"version",
|
|
"test_harness"
|
|
],
|
|
"returnType": "Result<Value,String>",
|
|
"exported": false,
|
|
"lineCount": 11
|
|
},
|
|
{
|
|
"name": "stage_build_receipt",
|
|
"owner": "",
|
|
"params": [
|
|
"release",
|
|
"binaries",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"env",
|
|
"fs",
|
|
"io::Read",
|
|
"process::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"Engine",
|
|
"engine::general_purpose::STANDARD"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "sha2",
|
|
"specifiers": [
|
|
"Digest",
|
|
"Sha512"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"target_dir",
|
|
"output_dir",
|
|
"mkdir",
|
|
"save",
|
|
"json_file",
|
|
"copy",
|
|
"copy_tree",
|
|
"sha512",
|
|
"version",
|
|
"record",
|
|
"merge_manifest",
|
|
"update_channel",
|
|
"package"
|
|
],
|
|
"totalLines": 290,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/release.rs": {
|
|
"filePath": "xtask/src/release.rs",
|
|
"contentHash": "b6cdbd5b9e5404f72c7b796e606a7f9645f3dc81a36b057b0672a3e3ed6a4578",
|
|
"functions": [
|
|
{
|
|
"name": "check_version",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
},
|
|
{
|
|
"name": "prepare",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"publish"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": true,
|
|
"lineCount": 70
|
|
},
|
|
{
|
|
"name": "add_upload",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"name",
|
|
"names",
|
|
"uploads"
|
|
],
|
|
"returnType": "Result<(), String>",
|
|
"exported": false,
|
|
"lineCount": 7
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeSet",
|
|
"env",
|
|
"fs",
|
|
"path::Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options",
|
|
"deps",
|
|
"package",
|
|
"verify_package"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"check_version",
|
|
"prepare"
|
|
],
|
|
"totalLines": 127,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/smoke.rs": {
|
|
"filePath": "xtask/src/smoke.rs",
|
|
"contentHash": "01ef3f03e850785bc5f8cb5317fdebe2567309456d434c541b8c8ba3a36834fd",
|
|
"functions": [
|
|
{
|
|
"name": "execute",
|
|
"owner": "",
|
|
"params": [
|
|
"command"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "smoke",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "validate_report",
|
|
"owner": "",
|
|
"params": [
|
|
"out",
|
|
"profile",
|
|
"target",
|
|
"version",
|
|
"scenario"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 23
|
|
},
|
|
{
|
|
"name": "android",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"target",
|
|
"scenario",
|
|
"out"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 30
|
|
},
|
|
{
|
|
"name": "ios",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"target",
|
|
"scenario",
|
|
"out"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 13
|
|
},
|
|
{
|
|
"name": "codecs",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options",
|
|
"target",
|
|
"out"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"fs",
|
|
"process::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options",
|
|
"package"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"smoke"
|
|
],
|
|
"totalLines": 133,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/src/verify_package.rs": {
|
|
"filePath": "xtask/src/verify_package.rs",
|
|
"contentHash": "e9bfc53da0f7576e74e6d747e433ce13e1d7da72d48f51b6e3dd3e9b428915a2",
|
|
"functions": [
|
|
{
|
|
"name": "u16le",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"at"
|
|
],
|
|
"returnType": "Result<u16,String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "u32le",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"at"
|
|
],
|
|
"returnType": "Result<u32,String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "u64le",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"at"
|
|
],
|
|
"returnType": "Result<u64,String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "machine",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<(&'static str,&'static str),String>",
|
|
"exported": false,
|
|
"lineCount": 6
|
|
},
|
|
{
|
|
"name": "verify_isa",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"target"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "binary_header",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "Result<Vec<u8>,String>",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "verify_apple_abi",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes",
|
|
"target"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "verify_elf_pages",
|
|
"owner": "",
|
|
"params": [
|
|
"bytes"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 8
|
|
},
|
|
{
|
|
"name": "files",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"result"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 15
|
|
},
|
|
{
|
|
"name": "python",
|
|
"owner": "",
|
|
"params": [
|
|
"root"
|
|
],
|
|
"returnType": "Command",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "unpack",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"path",
|
|
"kind",
|
|
"destination"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 29
|
|
},
|
|
{
|
|
"name": "safe_member",
|
|
"owner": "",
|
|
"params": [
|
|
"name"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 3
|
|
},
|
|
{
|
|
"name": "forbidden",
|
|
"owner": "",
|
|
"params": [
|
|
"path"
|
|
],
|
|
"returnType": "bool",
|
|
"exported": false,
|
|
"lineCount": 4
|
|
},
|
|
{
|
|
"name": "dynamic",
|
|
"owner": "",
|
|
"params": [
|
|
"path",
|
|
"target",
|
|
"all"
|
|
],
|
|
"returnType": "Result<String,String>",
|
|
"exported": false,
|
|
"lineCount": 25
|
|
},
|
|
{
|
|
"name": "payload",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"directory",
|
|
"target",
|
|
"nsis"
|
|
],
|
|
"returnType": "Result<Value,String>",
|
|
"exported": false,
|
|
"lineCount": 63
|
|
},
|
|
{
|
|
"name": "verify",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"options"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 60
|
|
},
|
|
{
|
|
"name": "find_apps",
|
|
"owner": "",
|
|
"params": [
|
|
"root",
|
|
"apps"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": false,
|
|
"lineCount": 1
|
|
},
|
|
{
|
|
"name": "verify_yaml",
|
|
"owner": "",
|
|
"params": [
|
|
"out",
|
|
"version",
|
|
"manifest"
|
|
],
|
|
"returnType": "Result<(),String>",
|
|
"exported": true,
|
|
"lineCount": 12
|
|
}
|
|
],
|
|
"classes": [],
|
|
"imports": [
|
|
{
|
|
"source": "std",
|
|
"specifiers": [
|
|
"collections::BTreeSet",
|
|
"fs",
|
|
"io::Read",
|
|
"process::Command"
|
|
]
|
|
},
|
|
{
|
|
"source": "serde_json",
|
|
"specifiers": [
|
|
"Value",
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "crate",
|
|
"specifiers": [
|
|
"Options",
|
|
"package"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"verify_isa",
|
|
"verify",
|
|
"verify_yaml"
|
|
],
|
|
"totalLines": 270,
|
|
"hasStructuralAnalysis": true
|
|
},
|
|
"xtask/test_publish_release.py": {
|
|
"filePath": "xtask/test_publish_release.py",
|
|
"contentHash": "c4b4c7cc84f9d3362e433cafe92c8bc77d5055dc869de084ce2e14a20a954b40",
|
|
"functions": [],
|
|
"classes": [
|
|
{
|
|
"name": "Response",
|
|
"methods": [
|
|
"__init__",
|
|
"getheader"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 7
|
|
},
|
|
{
|
|
"name": "FakeGitea",
|
|
"methods": [
|
|
"__init__",
|
|
"connection"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 70
|
|
},
|
|
{
|
|
"name": "PublishTransportTests",
|
|
"methods": [
|
|
"setUp",
|
|
"invoke",
|
|
"test_draft_is_published_only_after_upload_and_readback",
|
|
"test_corrupt_remote_bytes_leave_draft_unpublished",
|
|
"test_existing_release_is_never_overwritten",
|
|
"test_changed_local_asset_fails_before_http"
|
|
],
|
|
"properties": [],
|
|
"exported": true,
|
|
"lineCount": 49
|
|
}
|
|
],
|
|
"imports": [
|
|
{
|
|
"source": "base64",
|
|
"specifiers": [
|
|
"base64"
|
|
]
|
|
},
|
|
{
|
|
"source": "contextlib",
|
|
"specifiers": [
|
|
"contextlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "hashlib",
|
|
"specifiers": [
|
|
"hashlib"
|
|
]
|
|
},
|
|
{
|
|
"source": "io",
|
|
"specifiers": [
|
|
"io"
|
|
]
|
|
},
|
|
{
|
|
"source": "json",
|
|
"specifiers": [
|
|
"json"
|
|
]
|
|
},
|
|
{
|
|
"source": "os",
|
|
"specifiers": [
|
|
"os"
|
|
]
|
|
},
|
|
{
|
|
"source": "pathlib",
|
|
"specifiers": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"source": "tempfile",
|
|
"specifiers": [
|
|
"tempfile"
|
|
]
|
|
},
|
|
{
|
|
"source": "unittest",
|
|
"specifiers": [
|
|
"unittest"
|
|
]
|
|
},
|
|
{
|
|
"source": "unittest.mock",
|
|
"specifiers": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"source": "publish_release",
|
|
"specifiers": [
|
|
"publish_release"
|
|
]
|
|
}
|
|
],
|
|
"exports": [
|
|
"Response",
|
|
"FakeGitea",
|
|
"PublishTransportTests"
|
|
],
|
|
"totalLines": 150,
|
|
"hasStructuralAnalysis": true
|
|
}
|
|
}
|
|
} |