Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Merge requests
!95
fileTransfer eventmodel implementation for channels
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fileTransfer eventmodel implementation for channels
XX-4588/FtEmImpl
into
project/fileUpload
Overview
2
Commits
7
Pipelines
0
Changes
5
All threads resolved!
Hide all comments
Merged
Jake Taylor
requested to merge
XX-4588/FtEmImpl
into
project/fileUpload
1 year ago
Overview
2
Commits
7
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
version 6
version 6
0bc395da
1 year ago
version 5
9493a66f
1 year ago
version 4
9493a66f
1 year ago
version 3
d49c6e07
1 year ago
version 2
ed9ad3fb
1 year ago
version 1
0d7a9484
1 year ago
project/fileUpload (base)
and
latest version
latest version
732f891d
7 commits,
1 year ago
version 6
0bc395da
5 commits,
1 year ago
version 5
9493a66f
4 commits,
1 year ago
version 4
9493a66f
9 commits,
1 year ago
version 3
d49c6e07
8 commits,
1 year ago
version 2
ed9ad3fb
2 commits,
1 year ago
version 1
0d7a9484
1 commit,
1 year ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
indexedDb/impl/channels/implementation.go
+
2
−
2
Options
@@ -49,11 +49,11 @@ type wasmModel struct {
// ReceiveFile is called when a file upload or download beings.
//
// fileLink
, fileData, and timestamp
are nillable and may be updated based
// fileLink
and fileData
are nillable and may be updated based
// upon the UUID or file ID later.
//
// fileID is always unique to the fileData. fileLink is the JSON of
// File
.
Link.
//
channelsFileTransfer.
FileLink.
//
// Returns any fatal errors.
func
(
w
*
wasmModel
)
ReceiveFile
(
fileID
fileTransfer
.
ID
,
fileLink
,
Loading