diff --git a/README.md b/README.md deleted file mode 100644 index f984abc..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# pfs - -Project File System \ No newline at end of file diff --git a/ifs.go b/ifs.go index c9b416b..95932f2 100644 --- a/ifs.go +++ b/ifs.go @@ -13,4 +13,6 @@ type IFS interface { FileCreate(file *models.File) error FileRemove(fileID uuid.UUID, userID uuid.UUID) error FileRead(fileID uuid.UUID, userID uuid.UUID) (*models.File, error) + ResolveDirByPath(path string, userID uuid.UUID) (uuid.UUID, error) + ResolveFileByPath(path string, userID uuid.UUID) (uuid.UUID, error) }