Commit Graph

8 Commits

Author SHA1 Message Date
Cassondra Foesch f3501dc6ba address code review 2024-01-19 01:23:22 +00:00
Nicola Murino c4323ce9f2 minor improvements to some test cases
TestRequestReadlink: use "/does-not-exist" to test readlink on non-existent
file.

TestRequestAttributes: use 0700 for perm attrs instead of 700
2022-10-16 16:06:46 +02:00
Cassondra Foesch ba854bee45 collect all marshal/unmarshal functions into packet.go 2021-08-11 11:12:34 +00:00
Paul van Santen f94839fd59
Add const for all attribute flags and add missing newline 2019-12-27 10:56:42 +01:00
Paul van Santen 1bb2f2849b
Fix panics when attempting to get file attributes from too small byte slice 2019-12-24 09:37:32 +01:00
Nicola Murino b4ea0fd6f6 fix lint issues
These lint issues remain:

- request-errors.go, aliases for new error types
- request-attrs.go, UidGid. Changing this will break compatibility
2019-08-30 17:04:37 +02:00
John Eikenberry 0ef30ab089 Make request attribute structs public for docs
Make the structures used to hold the file flags/attributes public so
they can be documented. Improve the names to make their use clearer and
make the docs more obvious.

Fixes  #245
2018-05-11 14:15:09 -07:00
John Eikenberry f6a9258a0f add helper methods for request flags/attrs data 2018-01-09 15:31:54 -08:00