Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go-fuse
Commits
288b2028
Commit
288b2028
authored
May 15, 2024
by
Han-Wen Nienhuys
Committed by
Han-Wen Nienhuys
May 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: mark UtimeToTimespec as deprecated.
Change-Id: Ib094e7e55f922780408223626d88388d2cc5f8b6
parent
1e27f6dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fuse/misc.go
fuse/misc.go
+2
-0
No files found.
fuse/misc.go
View file @
288b2028
...
...
@@ -73,6 +73,8 @@ func CurrentOwner() *Owner {
// UtimeToTimespec converts a "Time" pointer as passed to Utimens to a
// "Timespec" that can be passed to the utimensat syscall.
// A nil pointer is converted to the special UTIME_OMIT value.
//
// Deprecated: use unix.TimeToTimespec from the x/sys/unix package instead.
func
UtimeToTimespec
(
t
*
time
.
Time
)
(
ts
syscall
.
Timespec
)
{
if
t
==
nil
{
ts
.
Nsec
=
_UTIME_OMIT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment