Move getters to file excluded from android build (#88)
This commit is contained in:
parent
ac353fcbef
commit
d53bd4a351
6 changed files with 26 additions and 20 deletions
13
crypto/message_getters.go
Normal file
13
crypto/message_getters.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// +build !android
|
||||
|
||||
package crypto
|
||||
|
||||
// GetFilename returns the file name of the message as a string.
|
||||
func (msg *PlainMessage) GetFilename() string {
|
||||
return msg.Filename
|
||||
}
|
||||
|
||||
// GetTime returns the modification time of a file (if provided in the ciphertext).
|
||||
func (msg *PlainMessage) GetTime() uint32 {
|
||||
return msg.Time
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue