mirror of
https://github.com/strongdm/comply
synced 2024-08-29 02:23:33 +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,
|
||
|
}
|
||
|
}
|