diff options
Diffstat (limited to 'cmd/fscrypt')
| -rw-r--r-- | cmd/fscrypt/fscrypt.go | 34 | ||||
| -rw-r--r-- | cmd/fscrypt/fscrypt_test.go | 26 |
2 files changed, 60 insertions, 0 deletions
diff --git a/cmd/fscrypt/fscrypt.go b/cmd/fscrypt/fscrypt.go new file mode 100644 index 0000000..191d4fb --- /dev/null +++ b/cmd/fscrypt/fscrypt.go @@ -0,0 +1,34 @@ +/* + * fscrypt.go - Stub file which currently just prints out the time + * + * Copyright 2017 Google Inc. + * Author: Joe Richey (joerichey@google.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +/* +fscrypt is a comprehensive command line tool for managing filesystem encryption. + +It currently just tells the time. +*/ +package main + +import ( + "fmt" + "time" +) + +func main() { + fmt.Printf("The time is now: %v\n", time.Now()) +} diff --git a/cmd/fscrypt/fscrypt_test.go b/cmd/fscrypt/fscrypt_test.go new file mode 100644 index 0000000..cbeacdf --- /dev/null +++ b/cmd/fscrypt/fscrypt_test.go @@ -0,0 +1,26 @@ +/* + * fscrypt_test.go - Stub test file that has one test that always passes. + * + * Copyright 2017 Google Inc. + * Author: Joe Richey (joerichey@google.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +package main + +import ( + "testing" +) + +func TestTrivial(t *testing.T) {} |