mirror of
https://github.com/strongdm/comply
synced 2024-11-09 01:14:53 +00:00
16 lines
222 B
Go
16 lines
222 B
Go
|
package ace
|
||
|
|
||
|
// File represents a file.
|
||
|
type File struct {
|
||
|
path string
|
||
|
data []byte
|
||
|
}
|
||
|
|
||
|
// NewFile creates and returns a file.
|
||
|
func NewFile(path string, data []byte) *File {
|
||
|
return &File{
|
||
|
path: path,
|
||
|
data: data,
|
||
|
}
|
||
|
}
|