{"action":"created","comment":{"url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/comments/46766406","id":46766406,"diff_hunk":"@@ -52,6 +54,11 @@ func (f *FS) AttachFList(ID string) error {\n \treturn nil\n }\n \n+func (f *FS) PurgeMetadata() {\n+\tmeta, _ := metadata.NewMetadata(f.mountpoint, nil)\n+\tf.metadata = meta\n+}\n+\n var _ = fs.FS(&FS{})","path":"filesystem/fs.go","position":33,"original_position":33,"commit_id":"a30eedc7c8da65093cd61f55afd86f899da80dad","original_commit_id":"a30eedc7c8da65093cd61f55afd86f899da80dad","user":{"login":"zaibon","id":303164,"avatar_url":"https://avatars.githubusercontent.com/u/303164?v=3","gravatar_id":"","url":"https://api.github.com/users/zaibon","html_url":"https://github.com/zaibon","followers_url":"https://api.github.com/users/zaibon/followers","following_url":"https://api.github.com/users/zaibon/following{/other_user}","gists_url":"https://api.github.com/users/zaibon/gists{/gist_id}","starred_url":"https://api.github.com/users/zaibon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaibon/subscriptions","organizations_url":"https://api.github.com/users/zaibon/orgs","repos_url":"https://api.github.com/users/zaibon/repos","events_url":"https://api.github.com/users/zaibon/events{/privacy}","received_events_url":"https://api.github.com/users/zaibon/received_events","type":"User","site_admin":false},"body":"This is a way to test if a struct to implement an interface. It will fail at compile time if the interface is not implemented. it's not required but it's just a test.","created_at":"2015-12-06T04:13:22Z","updated_at":"2015-12-06T04:13:22Z","html_url":"https://github.com/Jumpscale/aysfs/pull/3#discussion_r46766406","pull_request_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/comments/46766406"},"html":{"href":"https://github.com/Jumpscale/aysfs/pull/3#discussion_r46766406"},"pull_request":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3","id":52404767,"html_url":"https://github.com/Jumpscale/aysfs/pull/3","diff_url":"https://github.com/Jumpscale/aysfs/pull/3.diff","patch_url":"https://github.com/Jumpscale/aysfs/pull/3.patch","issue_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/3","number":3,"state":"open","locked":false,"title":"Refactor metadata loading","user":{"login":"zaibon","id":303164,"avatar_url":"https://avatars.githubusercontent.com/u/303164?v=3","gravatar_id":"","url":"https://api.github.com/users/zaibon","html_url":"https://github.com/zaibon","followers_url":"https://api.github.com/users/zaibon/followers","following_url":"https://api.github.com/users/zaibon/following{/other_user}","gists_url":"https://api.github.com/users/zaibon/gists{/gist_id}","starred_url":"https://api.github.com/users/zaibon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaibon/subscriptions","organizations_url":"https://api.github.com/users/zaibon/orgs","repos_url":"https://api.github.com/users/zaibon/repos","events_url":"https://api.github.com/users/zaibon/events{/privacy}","received_events_url":"https://api.github.com/users/zaibon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-02T14:50:27Z","updated_at":"2015-12-06T04:13:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87a3cf42f58a983f420d60584edab664355fd1a3","assignee":{"login":"muhamadazmy","id":10920323,"avatar_url":"https://avatars.githubusercontent.com/u/10920323?v=3","gravatar_id":"","url":"https://api.github.com/users/muhamadazmy","html_url":"https://github.com/muhamadazmy","followers_url":"https://api.github.com/users/muhamadazmy/followers","following_url":"https://api.github.com/users/muhamadazmy/following{/other_user}","gists_url":"https://api.github.com/users/muhamadazmy/gists{/gist_id}","starred_url":"https://api.github.com/users/muhamadazmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhamadazmy/subscriptions","organizations_url":"https://api.github.com/users/muhamadazmy/orgs","repos_url":"https://api.github.com/users/muhamadazmy/repos","events_url":"https://api.github.com/users/muhamadazmy/events{/privacy}","received_events_url":"https://api.github.com/users/muhamadazmy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/3/comments","statuses_url":"https://api.github.com/repos/Jumpscale/aysfs/statuses/a30eedc7c8da65093cd61f55afd86f899da80dad","head":{"label":"Jumpscale:flists_changes","ref":"flists_changes","sha":"a30eedc7c8da65093cd61f55afd86f899da80dad","user":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"repo":{"id":45370233,"name":"aysfs","full_name":"Jumpscale/aysfs","owner":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jumpscale/aysfs","description":"caching filesystem which will be used by ays, mainly used to deploy applications in a grid","fork":false,"url":"https://api.github.com/repos/Jumpscale/aysfs","forks_url":"https://api.github.com/repos/Jumpscale/aysfs/forks","keys_url":"https://api.github.com/repos/Jumpscale/aysfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jumpscale/aysfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jumpscale/aysfs/teams","hooks_url":"https://api.github.com/repos/Jumpscale/aysfs/hooks","issue_events_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/events{/number}","events_url":"https://api.github.com/repos/Jumpscale/aysfs/events","assignees_url":"https://api.github.com/repos/Jumpscale/aysfs/assignees{/user}","branches_url":"https://api.github.com/repos/Jumpscale/aysfs/branches{/branch}","tags_url":"https://api.github.com/repos/Jumpscale/aysfs/tags","blobs_url":"https://api.github.com/repos/Jumpscale/aysfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jumpscale/aysfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jumpscale/aysfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jumpscale/aysfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jumpscale/aysfs/statuses/{sha}","languages_url":"https://api.github.com/repos/Jumpscale/aysfs/languages","stargazers_url":"https://api.github.com/repos/Jumpscale/aysfs/stargazers","contributors_url":"https://api.github.com/repos/Jumpscale/aysfs/contributors","subscribers_url":"https://api.github.com/repos/Jumpscale/aysfs/subscribers","subscription_url":"https://api.github.com/repos/Jumpscale/aysfs/subscription","commits_url":"https://api.github.com/repos/Jumpscale/aysfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jumpscale/aysfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jumpscale/aysfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jumpscale/aysfs/contents/{+path}","compare_url":"https://api.github.com/repos/Jumpscale/aysfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jumpscale/aysfs/merges","archive_url":"https://api.github.com/repos/Jumpscale/aysfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jumpscale/aysfs/downloads","issues_url":"https://api.github.com/repos/Jumpscale/aysfs/issues{/number}","pulls_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls{/number}","milestones_url":"https://api.github.com/repos/Jumpscale/aysfs/milestones{/number}","notifications_url":"https://api.github.com/repos/Jumpscale/aysfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jumpscale/aysfs/labels{/name}","releases_url":"https://api.github.com/repos/Jumpscale/aysfs/releases{/id}","created_at":"2015-11-02T03:30:14Z","updated_at":"2015-11-07T16:47:53Z","pushed_at":"2015-12-06T04:10:18Z","git_url":"git://github.com/Jumpscale/aysfs.git","ssh_url":"git@github.com:Jumpscale/aysfs.git","clone_url":"https://github.com/Jumpscale/aysfs.git","svn_url":"https://github.com/Jumpscale/aysfs","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Jumpscale:master","ref":"master","sha":"d467a95d2848ede39fa519c719e5a189b0bf7ba0","user":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"repo":{"id":45370233,"name":"aysfs","full_name":"Jumpscale/aysfs","owner":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jumpscale/aysfs","description":"caching filesystem which will be used by ays, mainly used to deploy applications in a grid","fork":false,"url":"https://api.github.com/repos/Jumpscale/aysfs","forks_url":"https://api.github.com/repos/Jumpscale/aysfs/forks","keys_url":"https://api.github.com/repos/Jumpscale/aysfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jumpscale/aysfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jumpscale/aysfs/teams","hooks_url":"https://api.github.com/repos/Jumpscale/aysfs/hooks","issue_events_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/events{/number}","events_url":"https://api.github.com/repos/Jumpscale/aysfs/events","assignees_url":"https://api.github.com/repos/Jumpscale/aysfs/assignees{/user}","branches_url":"https://api.github.com/repos/Jumpscale/aysfs/branches{/branch}","tags_url":"https://api.github.com/repos/Jumpscale/aysfs/tags","blobs_url":"https://api.github.com/repos/Jumpscale/aysfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jumpscale/aysfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jumpscale/aysfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jumpscale/aysfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jumpscale/aysfs/statuses/{sha}","languages_url":"https://api.github.com/repos/Jumpscale/aysfs/languages","stargazers_url":"https://api.github.com/repos/Jumpscale/aysfs/stargazers","contributors_url":"https://api.github.com/repos/Jumpscale/aysfs/contributors","subscribers_url":"https://api.github.com/repos/Jumpscale/aysfs/subscribers","subscription_url":"https://api.github.com/repos/Jumpscale/aysfs/subscription","commits_url":"https://api.github.com/repos/Jumpscale/aysfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jumpscale/aysfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jumpscale/aysfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jumpscale/aysfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jumpscale/aysfs/contents/{+path}","compare_url":"https://api.github.com/repos/Jumpscale/aysfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jumpscale/aysfs/merges","archive_url":"https://api.github.com/repos/Jumpscale/aysfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jumpscale/aysfs/downloads","issues_url":"https://api.github.com/repos/Jumpscale/aysfs/issues{/number}","pulls_url":"https://api.github.com/repos/Jumpscale/aysfs/pulls{/number}","milestones_url":"https://api.github.com/repos/Jumpscale/aysfs/milestones{/number}","notifications_url":"https://api.github.com/repos/Jumpscale/aysfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jumpscale/aysfs/labels{/name}","releases_url":"https://api.github.com/repos/Jumpscale/aysfs/releases{/id}","created_at":"2015-11-02T03:30:14Z","updated_at":"2015-11-07T16:47:53Z","pushed_at":"2015-12-06T04:10:18Z","git_url":"git://github.com/Jumpscale/aysfs.git","ssh_url":"git@github.com:Jumpscale/aysfs.git","clone_url":"https://github.com/Jumpscale/aysfs.git","svn_url":"https://github.com/Jumpscale/aysfs","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3"},"html":{"href":"https://github.com/Jumpscale/aysfs/pull/3"},"issue":{"href":"https://api.github.com/repos/Jumpscale/aysfs/issues/3"},"comments":{"href":"https://api.github.com/repos/Jumpscale/aysfs/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jumpscale/aysfs/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Jumpscale/aysfs/statuses/a30eedc7c8da65093cd61f55afd86f899da80dad"}}}}