-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP File Concept #2100
base: main
Are you sure you want to change the base?
WIP File Concept #2100
Conversation
Should make it better, but still not perfect probably.
This reverts commit 88feea3.
cpg-concepts/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/concepts/file/File.kt
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,15 @@ | |||
- Neo4j / console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably left over
// what do we want to have here? binary? text? r+ vs w+? create mode? ...? | ||
} | ||
|
||
class File( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing doc
APPEND, | ||
UNKNOWN, | ||
|
||
// what do we want to have here? binary? text? r+ vs w+? create mode? ...? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we definitely need the chmod flags in some form, not sure where
class FileChangePermissions( | ||
underlyingNode: Node, | ||
override val concept: File, | ||
val newPermissions: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a enum or similar for the permissions?
WIP implementation of (Python) file concepts.